Application of AVX Instruction Set in Btrfs

Source: Internet
Author: User

Application of AVX Instruction Set in Btrfs

Each time a new X86 processor is released, a new instruction set with two interfaces is added. AVX is one of the new instruction sets that have been introduced and continuously improved over the past two years. Unfortunately, most of the new instruction sets do not bring too much improvement to daily use. However, if you plan to use the Btrfs file system, pay attention to the AVX support level.

A major feature of the Btrfs file system is to check the data and metadata.xorThe module provides support. CurrentlyxorProvides the fastest way to automatically select. If the system CPU supports AVX extended instruction sets, it will greatly improve the efficiency of the Btrfs file system to perform the checksum operation. From another perspective, the sleeping AVX Instruction Set finally has an opportunity to use it in daily use without requiring specific compilation.

xorWill be used as dependenciesbtrfsThe introduction of the module loading.dmesgThe following content is displayed in the output:

xor: automatically using best checksumming function: avx : 4736.000 MB/sec

List the devices on hand for reference.xorOutput Information:

  • A10-5800K: AVX: 4748.000 MB/sec
  • Athlon 5350: AVX: 6128.000 MB/sec
  • A6-6310: AVX: 5912.000 MB/sec

From the list above, the AVX performance of the new processor is better. Therefore, if you plan to use the Btrfs file system, it seems wise to choose a CPU with strong AVX performance.

However, this is only theoretical and has not been used for file system performance testing. It is for your reference only.

How to install the desktop environment of workora 21 Workstation Cinnamon on the computer of the Btrfs File System

Makefile Analysis of Btrfs in Linux File System

Kconfig Analysis of Btrfs in Linux File System

Application of Btrfs File System in CentOS

Btrfs details: click here
Btrfs: click here

This article permanently updates the link address:

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.