Use noatime in linux to improve File System Performance

Source: Internet
Author: User
By default, linux will record the file access time atime, which is unnecessary in most cases. If the machine IO load is high or the CPU wait is high, you can try noatime and nodiratime, which is effective and quick. 1. Change etcfstab, similar to devhda9dataext3defaults02, to d.

By default, linux will set the file access time toTimeRecording is unnecessary in most cases. If the I/O load of the machine is high or the CPU WAIT is high, you can try noatime and nodiratime, which is effective and effective.

1. Modify/etc/fstab, similar

/Dev/hda9/dataExT3 defaults 0 2

Change

/Dev/hda9/data ext3 defaults, noatime, nodiratime 0 2

2. remount partition, run

Mount-o remount/data

The remount action can be executed with great peace of mind.

If you do not want to change the fstab, use mountCommand:

Mount-o noatime-o nodiratime-o remount/data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.