Improving file system performance with noatime
All the professional filesystems store at least three type of date for each file. These are file creation time, last modified time and the last accessed time.
File's last accessed time changes very frequently, even a directory listing operation leads to change all of the files' last accessed time information under that directory. So, this will introduce a filesystem overhead. If you don't need to exact last accessed time of files under specific mount point, you can disable this future with the noatime mount option. to do this, edit /etc/fstab and add noatime option in the option group field like below:
/dev/sda7 /var ext3 defaults,noatime 0 0
In order to take effects immediately, you can remount this partition with:
mount -o remount /var
This change can improve the overall filesystem performance in a heavy loaded web server or database system.
- 0 Comment
- Murat Demirten
- 04 Oct 2008, 02:00
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Redirecting tcp / udp ports with socat
- Syntax highlighting in less
- Disabling reverse dns lookups in ssh
- Passwordless sudo setup
- Users with /bin/false shell to login on vsftpd
- Scp resume
- Using lsof utility
- dropbear rsa key problem
- Lowercase Table Names in MySQL
- XFS Filesystem has duplicate UUID problem
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
