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

Leftovers: Gaming

Today in Techrights

Snapcraft 2.12 Coming Soon to Ubuntu 16.04, Lets You Access the Parts Ecosystem

The development of Snapcraft, the handy Ubuntu utility that lets you create Snaps for your applications, which you can now distribute across multiple operating systems, is advancing at a fast pace, and it looks like Snapcraft 2.12 will land soon. Read more

GeckoLinux 421.160627.0 "Static" Editions Released Based on openSUSE Leap 42.1

Users of the GeckoLinux distribution are in for yet another treat after the announcement of updated GeckoLinux 421.160623.0 "Rolling" Editions based on the latest openSUSE Tumbleweed snapshots. Read more