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

Source: Internet
Author: User

I haven't released my small exploration for a long time, but my exploration has not stopped.

This article mainly introduces how to set up the environment for the new features of the ext4 file system, and how to use the new features of ext4.

1. New Features of The ext4 file system and environment construction

(1) Linux 3.2.2:

Http://pan.baidu.com/share/link? Consumer id = 164928 & UK = 989947490

For the upgrade method, see previous articles!

(2) e2fsporgs:

Http://pan.baidu.com/share/link? Consumer id = 164934 & UK = 989947490

1.Tar xvf e2fsprogs-1.42.tar.gz

2. CD e2fsprogs-1.42

3./configure -- prefix =/usr -- With-root-Prefix = "" -- enable-elf-shlibs -- disable-libblkid -- disable-libuuid -- disable-uuidd -- disable-fsck

4. Make

5. Make install

6. Install-libs

Chmod-v U + w/usr/lib/{libcom_err, libe2p, libext2fs, libss}.

This package installs a gzipped. Info
File but does not update the system dir file. Decompress the file and use the following command to update the system dir file.

Gunzip-V/usr/share/INFO/libext2fs.info.gz

Install-info -- Dir-file =/usr/share/INFO/DIR/usr/share/INFO/libext2fs.info

If necessary, create and install some additional documents by issuing the following command:

Makeinfo-o doc/com_err.info ../lib/ET/com_err.texinfo

Install-v-m644 DOC/com_err.info/usr/share/info

Install-info -- Dir-file =/usr/share/INFO/DIR/usr/share/INFO/com_err.info

Required:Yum install libblkid; YUM install UUID * yum
Install makeinfo

2. Usage of new features of ext4:

Mke2fs-T ext4-B 4096-O extents, huge_file, dir_index, flex_bg, bigalloc-C 1048576-e stride = 256, stripe-width = 1280, lazy_itable_init = 1, test_fs, discard/dev/SDD
 

Mount-O extents, bigalloc, mballoc, delalloc, barrier = 1, data = writeback, noatime, nodiratime, ACL, user_xattr/dev/SDD/opt/raid0-5/

Mount-T ext4-O delalloc, discard, stripe = 1280, journal_async_commit, noatime, nodiratime/dev/SDD/opt/raid0-5/

3. Performance Comparison Between ext4 and ext3 (3vs4)

4. Understanding of features (to be edited next time)

 

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.