Reducing Disk IO By Mounting Partitions With noatime
Reducing Disk IO By Mounting Partitions With noatimeVersion 1.0 Linux has a special mount option for file systems called noatime. If this option is set for a file system in /etc/fstab, then reading accesses will no longer cause the atime information (last access time - don't mix this up with the last modified time - if a file is changed, the modification date will still be set) that is associated with a file to be updated (in reverse this means that if noatime is not set, each read access will also result in a write operation). Therefore, using noatime can lead to significant performance gains. I do not issue any guarantee that this will work for you!
Using noatimeIn this example I want to use noatime for my root file system - /. Therefore I open /etc/fstab... vi /etc/fstab ... and add noatime to the options of the / file system, e.g. like this:
You don't have to reboot the system for the changes to take effect - the following command will do: mount -o remount / That's it. You can run mount to check if the partition really got mounted with noatime: server4:/home/admin# mount
A Quick Note For OpenVZ VMsOpenVZ containers (virtual machines) don't have an /etc/fstab file because the partitioning is controlled from the host system. To set noatime for a VM, you can run vzctl set veid --noatime yes --save on the host system and restart the VM (replace veid with the ID of the container; for example, if the container has the ID 101, run vzctl set 101 --noatime yes --save and restart the container: vzctl restart 101 ).
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning







Recent comments
13 hours 51 min ago
15 hours 52 min ago
19 hours 3 min ago
21 hours 23 min ago
22 hours 33 min ago
23 hours 51 min ago
1 day 3 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 22 hours ago