To be included in the upcoming kernel 6.17, optimizations and new features have been proposed that enhance Btrfs performance:
- Experimental support for large memory page folios. This change is expected to reduce overhead and improve the performance of a range of operations. Currently, the feature is technically ready for widespread use but has not undergone sufficient testing to declare it stable.
- Caching requests for bitmaps of free space allocations. Performance for operations increased by 20% during tests involving the creation of empty files. Other performance improvements under heavy metadata loads have also been noted.
- Improved prefetching in systems that utilize data compression.
- A tighter arrangement of keys within the XArray structure enhances the compactness of extent tree node storage and reduces the number of terminal nodes by 50-70%.
Additionally, changes in ioctl defragmentation and activation of the previously developed mechanism to prevent filesystem corruption, limiting writes to the block device with a mounted filesystem, have been noted.
Source: opennet.ru
