Get the latest tech news
Linux Primed For Significant Performance Gains With Kernel Swap Code Overhaul
A patch series posted overnight that is part of a larger planned rework for the kernel to introduce a 'Swap Table' is poised to bring significant real-world performance gains to the Linux kernel.
One reason is the current design almost has the minimal memory usage (1 byte swap map) with acceptable performance, so it's hard to beat with incremental changes. Some damn nice performance results with a VM scalability benchmark showing more than a 20% improvement in most scenario, Linux kernel build times up to a few percent faster, and Redis/Valkey in-memory database enjoying around 6~7% higher throughput. Hopefully this work ultimately is deemed acceptable for upstreaming into the mainline Linux kernel and the rest of the swap table patch series phases come about soon.
Or read this on Phoronix