Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Three Lines of Code Improve Linux Storage Performance

Дата публикации: 23-06-2026 14:49:54

A developer changed three lines of code, giving Linux storage performance a 5% bump.

Основное содержимое страницы с новостью.

A developer changed three lines of code, giving Linux storage performance a 5% bump.

XFS and ext4 filesystems have received a bit of good news recently, by way of a 5% performance increase. This change was made by ByteDance engineer Fengnan Chang and was committed by Christian Brauner.

"Skip the memset of the iomap in iomap_iter() once the iteration is done," said Brauner in a recent git pull. Brauner continued, "In high-IOPS scenarios (4k randread NVMe polling via io_uring), the pointless memset wasted memory write bandwidth; this improves IOPS by about 5% on ext4 and XFS."

IOPS stands for Input/Output Operations Per Second and is the speed at which a drive is able to send and receive data.

You might think that Chang optimized those three lines of code to improve IOPS, but that is not the case. All Chang did was move those lines so that they ran after the process finished, instead of before. By moving those three lines, IOPS for ext4 and XFS filesystems received a 5% performance increase.

Although this might seem like a simple change, it would take considerable skill to spot the issue and how it would improve the performance of the read and write speeds of a drive.

According to Phoronix, "that same pull also adds the VFS infrastructure needed for implementing FS-VERITY support for XFS with a post-EOF Merkle tree."

Bravo to Chang for making this tiny code change that will benefit Linux systems worldwide.
 
 

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Linux 7.3 SMP Improvement To Help Reduce Latency, Improve Real-Time Performance010.1917-08-2026
2IOmap Improvement For Linux 7.3 Takes EXT4 & XFS Performance Further013.6918-08-2026
3XFS Lands FALLOC_FL_WRITE_ZEROES For Efficiency Improvement In Linux 7.3014.4318-08-2026
4More than 43 Million Lines of Code in Linux Kernel 7.2014.9206-07-2026
5Linux 7.2 发布:缓存感知调度经一年磨砺终登场038.5717-08-2026
6AMD Enabling CACP Feature On Linux For Greater OLED Power Savings0510-07-2026
7HiZ Plane Optimization Merged For Intel Vulkan Linux Driver For Some Performance Benefit2710-07-2026
8AVX-512 xor_gen Continues To Look Exciting For Helping Linux RAID With Modern CPUs010.1316-08-2026
9Intel Graphics Driver Support For Xe3 "Peak Bandwidth Threshold" Feature In Linux 7.3013.129-07-2026
10Hannah Montana Linux Is Back!08.5208-07-2026

Классификация: Пресс-релизы. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 7.75. Источник: www.linux-magazine.com.