View Single Post
Old 02-23-2012, 08:01 PM  
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Quote:
Originally Posted by Brujah View Post
Ray were you using relatime before? If not, did it make a big difference? Does Apache have a noatime-like setting so you don't have to change the mount?

It was not using relatime. Noatime versus default makes a HUGE difference in IOPS, so for small files, some databases, and those PHP scripts that include a bunch of different .php files. For small files, it cuts disk access roughly in half by making it one read rather than a read and a write.

As far as I know, Apache simply follows the mount specification and doesn't have an option to seperately avoid atime within the application. mod_cache_disk to shm would do it, though.

I haven't tested relatime under a heavy webserver workload. I use it on my desktop homedir and our IMAP server.

Last edited by raymor; 02-23-2012 at 08:04 PM..
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote