Language Selection

English French German Italian Portuguese Spanish

Linux: Replacing atime With relatime

Filed under
Linux

In a recent lkml thread, Linus Torvalds was involved in a discussion about mounting filesystems with the noatime option for better performance, "'noatime,data=writeback' will quite likely be *quite* noticeable (with different effects for different loads), but almost nobody actually runs that way."

He noted that he set O_NOATIME when writing git, "and it was an absolutely huge time-saver for the case of not having 'noatime' in the mount options. Certainly more than your estimated 10% under some loads." The discussion then looked at using the relatime mount option to improve the situation, "relative atime only updates the atime if the previous atime is older than the mtime or ctime. Like noatime, but useful for applications like mutt that need to know when a file has been read since it was last modified."

MOre Here




More in Tux Machines

Jessie Release Date: 2015-04-25

We now have a target release date of Saturday the 25th of April. We have checked with core teams, and this seems to be acceptable for everyone. This means we are able to begin the final preparations for a release of Debian 8 - "Jessie". The intention is only to lift the date if something really critical pops up that is not possible to handle as an errata, or if we end up technically unable to release that weekend. Please keep in mind that we intend to have a quiet period from Saturday the 18th of April. Bug fixes must be *in Jessie* before then. Read more

Radeon Linux Benchmarks: Catalyst 15.3 Beta vs. Linux 4.0 + Mesa 10.6-devel

Before ending out March, here's some new OpenGL Linux benchmarks comparing the closed-source Catalyst 15.3 Beta driver against the Linux 4.0 development kernel with Mesa 10.6 Git for the freshest open-source graphics driver code. Read more

5 questions to determine if open source is a good fit for a software project

A benefit of open source in general, and commercial open source in particular, is that you have the support of others as well as the ability to do the maintenance yourself. I hope these questions will help you determine whether open source is a good fit for your next software project. Let me know if there are other questions you would add to this list. Read more