Thursday, February 19th 2026

Linux Kernel 7.0 Speeds Up File Cache Memory Reclaim by Up to 75%

In the latest Linux kernel v7.0, freeing up system memory used for caching large files has received a noticeable performance boost. According to notes on the kernel mailing list, a new set of patches queued for the Linux 7.0 merge window showed reclaim speed improvements of up to 75% in testing. In one benchmark, developers allocated 10 GB of file-backed data in memory and then reclaimed 8 GB of it. On a 32-core Arm64 server, the reclaim process completed about 75% faster compared to the older Linux implementation, while on an x86 machine, the improvement was reported at over 50%.

Imagine your system running a large database or another memory-intensive workload. Instead of constantly reading from storage, the kernel can keep tens or even hundreds of gigabytes of frequently accessed file data in RAM for much faster access. When memory pressure builds and part of that cached data must be freed, the cleanup process now completes significantly faster. This is not going to be noticeable to consumers, but hyperscalers, HPC simulations, AI runs, and other workloads that involve heavy data processing will now see a significant performance boost. The improvement comes from work authored by Baolin Wang of Alibaba, who optimized how the kernel handles large blocks of cached file memory.
It's important to note that this is just one benchmark that has been tested. We're on the path to Linux 7.0, which means real-world workloads have yet to experience the speed improvements the Linux kernel will bring. Recently, development has concentrated on crucial areas like task scheduling and memory management, as we're witnessing now. This is a positive sign of healthy development, with potential future improvements benefiting the ever-growing community of Linux gamers. As long as these kernel improvements continue to build, development remains on a solid track.
Source: Phoronix
Add your own comment

10 Comments on Linux Kernel 7.0 Speeds Up File Cache Memory Reclaim by Up to 75%

#1
ZoneDymo
See, this, THIS is cool, more of this pls.
Not "yeah performance has gone up x3!!....and yeah powerconsumption as well but dont mind that!"
Posted on Reply
#2
Jism
Linux always been about using memory that's not in use. Once it's needed it's freed up.
Posted on Reply
#3
shuffy_losys
ZoneDymoSee, this, THIS is cool, more of this pls.
Not "yeah performance has gone up x3!!....and yeah powerconsumption as well but dont mind that!"
My hope is with the memory shortage thanks to AI datacenters, software developers (or more accurately, their pointy haired bosses) will finally start giving a damn about optimizing their code because they can't rely on better machines in the future to hide it.
Posted on Reply
#4
ZoneDymo
shuffy_losysMy hope is with the memory shortage thanks to AI datacenters, software developers (or more accurately, their pointy haired bosses) will finally start giving a damn about optimizing their code because they can't rely on better machines in the future to hide it.
yeah it would be awesome if some big game dev just made their game as if the best hardware out there is a 3060 or something and optimise as much as possible ot make that look and run as well as possible.
(basically a modern Valve type game tbh)
Posted on Reply
#5
TheinsanegamerN
ZoneDymoSee, this, THIS is cool, more of this pls.
Not "yeah performance has gone up x3!!....and yeah powerconsumption as well but dont mind that!"
People still don’t understand the difference between power draw and efficiency apparently.

If you double power use but triple output, you have built a significantly more efficient chip.
Posted on Reply
#6
tommo1982
Doesn't this mean better efficiency for integrated GPU's? Those use RAM to store data, so any speed up in shuffling textures would help FPS, I guess.
Posted on Reply
#7
igormp
tommo1982Doesn't this mean better efficiency for integrated GPU's? Those use RAM to store data, so any speed up in shuffling textures would help FPS, I guess.
No, not really. This is about reclaiming space previously used by mmap'ed files in disk.
Posted on Reply
#8
R-T-B
shuffy_losysMy hope is with the memory shortage thanks to AI datacenters, software developers (or more accurately, their pointy haired bosses) will finally start giving a damn about optimizing their code because they can't rely on better machines in the future to hide it.
Not with the engines we have at our disposal... and we certainly aren't writing our own engines anymore with the timeframes the industry demands...

Sorry, but I just don't think your request is even possible. It would require thought from the point haired bosses... and... yeah.
Posted on Reply
#9
_roman_
thanks to the alibaba guy for the improvement
Posted on Reply
#10
ZoneDymo
TheinsanegamerNPeople still don’t understand the difference between power draw and efficiency apparently.

If you double power use but triple output, you have built a significantly more efficient chip.
People might not....I however do understand that, I know they give more for the power they use, I just dont want them to use THAT much power for the purpose.
Dial it back, have a max power usage of the highest end chip of for example 300 watts and work within that, do all you can to get as much out of a gpu with that limitation.

I dont care if its more efficient, 1000 watts is a 1000 watts....for what? to run some upscaled games? give me a break.
Posted on Reply
Nov 12th, 2026 05:26 PST change timezone

New Forum Posts

Popular Reviews

TPU on YouTube

Controversial News Posts