Aptivi<p><strong>Linux 6.16 yields improved EXT4 performance!</strong></p><p>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.</p><p>Those changes have been made to improve the filesystem performance, which will be pushed to the v6.16 development branch from <a href="https://lore.kernel.org/lkml/20250527200206.GA2433735@mit.edu/" rel="nofollow noopener" target="_blank">this PR</a>, including:</p><ul><li>Fast commit performance improvements</li><li>Multi-fsblock atomic write support for bigalloc file systems</li><li>Large folio support for regular files</li></ul><p>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 <a href="https://lore.kernel.org/all/202505161418.ec0d753f-lkp@intel.com/" rel="nofollow noopener" target="_blank">this report you can see here</a>. According to the test robot, it has reported that it had noticed a 37.7% improvement on <code>fsmark.files_per_sec</code>.</p><p>The large folio support for regular files has been added with <a href="https://lore.kernel.org/all/20250512063319.3539411-9-yi.zhang@huaweicloud.com/" rel="nofollow noopener" target="_blank">this patch</a>, which checks for the following conditions in the <code>ext4_should_enable_large_folio()</code> function before enabling such support:</p><ul><li>If <code>i_mode</code> on an inode is a regular file using the <code><a href="https://man7.org/linux/man-pages/man7/inode.7.html" rel="nofollow noopener" target="_blank">S_ISREG()</a></code> macro</li><li>If either the data flags on the superblock or the inode flags has the journal data flags</li><li>If the superblock has no verity and has no encryption support</li></ul><p>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.</p><p><strong>Expect the first release candidate of Linux 6.16 in the next two weeks!</strong></p><p><span></span></p><p><a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://officialaptivi.wordpress.com/tag/ext4/" target="_blank">#EXT4</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://officialaptivi.wordpress.com/tag/filesystem/" target="_blank">#Filesystem</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://officialaptivi.wordpress.com/tag/linux/" target="_blank">#Linux</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://officialaptivi.wordpress.com/tag/linux-6-16/" target="_blank">#Linux616</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://officialaptivi.wordpress.com/tag/linux-kernel/" target="_blank">#LinuxKernel</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://officialaptivi.wordpress.com/tag/news/" target="_blank">#news</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://officialaptivi.wordpress.com/tag/tech/" target="_blank">#Tech</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://officialaptivi.wordpress.com/tag/technology/" target="_blank">#Technology</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://officialaptivi.wordpress.com/tag/update/" target="_blank">#update</a></p>