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.xor
The module provides support. Currentlyxor
Provides 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.
xor
Will be used as dependenciesbtrfs
The introduction of the module loading.dmesg
The 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.xor
Output 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: