Linux 6.16 yields improved EXT4 performance!
As part of the changes that are done in Linux 6.16, there are some of the very interesting changes that are done to the EXT4 filesystem. Those changes yield improved performance, causing you to have a faster EXT4 filesystem compared to the recently released Linux 6.15.
Those changes have been made to improve the filesystem performance, which will be pushed to the v6.16 development branch from this PR, including:
- Fast commit performance improvements
- Multi-fsblock atomic write support for bigalloc file systems
- Large folio support for regular files
The large folio support for regular files was, in itself, a factor of the improvements, along with all other changes, which yielded over 37% performance increase according to the kernel test robot that made this report you can see here. According to the test robot, it has reported that it had noticed a 37.7% improvement on fsmark.files_per_sec
.
The large folio support for regular files has been added with this patch, which checks for the following conditions in the ext4_should_enable_large_folio()
function before enabling such support:
- If
i_mode
on an inode is a regular file using the S_ISREG()
macro - If either the data flags on the superblock or the inode flags has the journal data flags
- If the superblock has no verity and has no encryption support
Also, Linux 6.16 fixes some corruption bugs on an EXT4 file system caused by race conditions in the extent status tree. Those race conditions were potentially manifested from the heavy simultaneous allocation and deallocation to a single file.
Expect the first release candidate of Linux 6.16 in the next two weeks!
#EXT4 #Filesystem #Linux #Linux616 #LinuxKernel #news #Tech #Technology #update