3. ext4 my big data _ exploration (3 )!

Source: Internet
Author: User

Nonsense:

What am I doing? After adjusting the maximum performance measured by iometer and program for raid, you can choose to provision the appropriate file system. To achieve better performance, we are currently concerned with ext4 and XFS;

Question:

Command:

Mke4fs-N 1000000-I 128-o ^ has_journal, extent, meta_bg, flex_bg/dev/SDD

Mke2fs-O journal_dev, extents, huge_file, dir_index, flex_bg, bigalloc, mballoc, delalloc-T ext4-e stride = 1024 stripe-width = 5/dev/SDD

Is the Mount parameter "extents, mballoc, delalloc, barrier = 1, data = writeback, noatime, nodiratime, ACL, user_xattr" appropriate?

Recommended: "extents, mballoc, delalloc, barrier = 0, noatime, nodiratime, ACL, user_xattr"

Ext4 adoptsExtentAfter the structure, the continuity of data distribution on the hard disk has been greatly improved.

BigallocI can only increase some throughput on this basis. I dare not say "greatly increase". Of course, if you upgrade from ext3 to ext4 bigalloc, the performance improvement will be very conspicuous.

 

Prayer:

My e2fsprogs, install it now!

 

Related Article

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.