NuDB icon indicating copy to clipboard operation
NuDB copied to clipboard

Avoid unnecessary I/O to track files' 'last access' timestamp:

Open nbougalis opened this issue 4 years ago • 1 comments

Unless the underlying filesystem is mounted with noatime then the system will keep track of and update a file's 'last access' time stamp with every read operation.

Even if the filesystem optimizes this, it makes little sense to track this information for NuDB files that can be accessed tens of thousands of times per second.

If the O_NOATIME option is defined, we set it when attempting to open or create files.

nbougalis avatar Jan 07 '22 06:01 nbougalis

yeah I agree

vinniefalco avatar Jan 07 '22 14:01 vinniefalco