How Valerie Aurora’s Tiny Kernel Patch Saved Billions of Disk Writes
Valerie Aurora, a pioneering Linux kernel developer, introduced a concise relative‑atime patch that dramatically reduces unnecessary disk writes, improving performance and energy efficiency while maintaining compatibility with software that relies on access‑time information.
Valerie Aurora (formerly Val Henson) is a distinguished developer known for her technical contributions to core filesystem technologies and her long‑standing advocacy for women in open‑source communities.
After attending DEF CON, she studied computer science and mathematics, then joined leading IT firms: at Sun Microsystems she first encountered the ZFS filesystem; at IBM she worked with Theodore Ts'o on ext2 and ext3; at Intel she implemented the dirty‑bit and relative atime features.
In traditional UNIX‑like filesystems, the atime (access time) timestamp is updated on every file read, causing the inode to be written back to disk. Even a simple read operation therefore triggers a write, leading to cumulative energy consumption and performance penalties, especially on laptops.
A straightforward mitigation is mounting filesystems with the noatime option, which disables atime updates and can improve speed and battery life. However, some applications—such as the mutt email client—depend on atime to detect new mail, so completely disabling it can break functionality.
Aurora observed that most users only need to know whether a file has been accessed since its last modification, effectively treating atime as a boolean flag rather than a precise timestamp.
Her relative‑atime solution adds a few lines of kernel code that update i_atime only when it is older than i_mtime (modification time) or i_ctime (status‑change time). The logic checks the mount flag MNT_RELATIME; if the flag is unset, the condition defaults to true, preserving the old behavior. This minimal change, introduced as the default atime policy in 2008, has saved billions of redundant writes.
Beyond her technical work, Aurora co‑founded the Ada Initiative, promoting women’s participation in free culture and open‑source projects, and has been recognized by SC Magazine and awarded the O’Reilly Open Source Award in 2013.
ITPUB
Official ITPUB account sharing technical insights, community news, and exciting events.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
