Linux: Replacing atime With relatime | Linux Today

Linux: Replacing atime With relatime

Written By
Web Webster
Web Webster
Aug 9, 2007

“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.’ Ingo Molnar stressed the
significance of fixing this performance issue, ‘I cannot
over-emphasize how much of a deal it is in practice. Atime updates
are by far the biggest IO performance deficiency that Linux has
today. Getting rid of atime updates would give us more everyday
Linux performance than all the pagecache speedups of the past 10
years, _combined_.’ He submitted some patches to improve relatime,
and noted about atime…”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.