The Caboteria / Tech Web / TechNotes > UnixNotes / UnixPerformanceTips (17 Feb 2004, TWikiGuest)
(back to UnixNotes)

On a GNU/Linux system you actually perform a write operation for each read because the filesystem tracks the last access time for each file. While this is potentially useful data (e.g. HSM) in many cases it's useless and the file system runs slower as a result. There are a couple of ways to turn this off, depending on how precise control you need. On a file-by-file basis you can chattr +A file_name each file, or for the whole filesystem you can add noatime to the list of filesystem parameters in /etc/fstab. I've seen this documented in a few places, most recently

GNU/Linux: is IDE DMA turned on? Use hdparm to check.

Bonnie is a useful file system benchmark. My BonnieResults.

-- TobyCabot - 25 Feb 2002 - 28 Mar 2002

Edit | Attach | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Copyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback