Linux.com

What about turning off the Last Access time?

Posted by: Anonymous Coward on October 10, 2003 11:23 PM
Although it doesn't apply to me (which is why I don't remember how to do it), I know that, in some circumstances, disk I/O performance can be substantially improved by turning off the recording of the Last Access time for each file.

This is especially true if your application has a large number of small, randomly-accessed, read-only files. If the Last Access recording is on (which is the default), then every time a file is read, it also requires a write to update the time.

Note that this (leaving the Last Access time recording on) is one of the tricks that Microsoft pulls when running their head-to-head benchmarks, in order to give Windows an advantage over Linux.

Maybe someone who knows more about it could remind us how to change the setting, as well as correct anything I've gotten wrong.

#

Return to Optimizing Linux filesystems