Do not record the time of file access noatime application

  


Regardless of whether you are using Microsoft's system or Linux system, system performance is a concern, sometimes just do a little Changes can be made, system space or CPU usage is best to be less or less. By default, Linux will record the time atime of file access. This is unnecessary in most cases. If you encounter high load on the machine or high CPU WAIT, you can try noatime and nodiratime. Good curative effect and quick effect.

1. Modify /etc/fstab, similar to

/dev/hda9 /data ext3 defaults 0 2

Change to

/dev/hda9 /Data ext3 defaults, noatime, nodiratime 0 2

2, remount partition, execute

mount -o remount /data

remount this action can be safely executed, at most Sweat.

If you don't want to change fstab, use the mount command directly:

mount -o noatime -o nodiratime -o remount /data

Basic file access time logging is not necessary So noatime and nodiratimes are necessary to try to use, I don't know which one you like to use, here are two ways for you to choose, I hope to help everyone.

Copyright © Windows knowledge All Rights Reserved