By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Kcompressd Proposed For Accelerated Memory Compression On Linux
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Kcompressd Proposed For Accelerated Memory Compression On Linux
Computing

Kcompressd Proposed For Accelerated Memory Compression On Linux

News Room
Last updated: 2025/05/01 at 2:35 PM
News Room Published 1 May 2025
Share
SHARE

Mediatek engineers have proposed Kcompressd as a new addition to the Linux kernel to improve the efficiency of memory reclamation. Mediatek engineers testing these patches on their handheld Linux devices have found huge benefit in alleviating memory pressure and enhancing system responsiveness.

Posted to the Linux kernel mailing list yesterday was the memory management “MM” patch for the Linux kernel proposing Kcompressd as a little more than 100 lines of C code and the potential to have dramatic impact on memory reclaiming performance.

Kcompressd

The patch from Mediatek engineer Qun-Wei Lin is summed up as:

“This patch series introduces a new mechanism called kcompressd to improve the efficiency of memory reclaiming in the operating system.

Problem:
In the current system, the kswapd thread is responsible for both scanning the LRU pages and handling memory compression tasks (such as those involving ZSWAP/ZRAM, if enabled). This combined responsibility can lead to significant performance bottlenecks, especially under high memory pressure. The kswapd thread becomes a single point of contention, causing delays in memory reclaiming and overall system performance degradation.

Solution:
Introduced kcompressd to handle asynchronous compression during memory reclaim, improving efficiency by offloading compression tasks from kswapd. This allows kswapd to focus on its primary task of page reclaim without being burdened by the additional overhead of compression.

In our handheld devices, we found that applying this mechanism under high memory pressure scenarios can increase the rate of pgsteal_anon per second by over 260% compared to the situation with only kswapd. Additionally, we observed a reduction of over 50% in page allocation stall occurrences, further demonstrating the effectiveness of kcompressd in alleviating memory pressure and improving system responsiveness.”

Interesting work and hopefully Kcompressd or some evolution of it will ultimately make it into the mainline Linux kernel for helping with the handheld Linux gaming experience and for other Linux systems routinely under memory pressure.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article GOP lawmakers to introduce bill requiring app stores to verify users ages
Next Article Xbox price hikes are deluded and Microsoft should feel shame
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

US is lifting chip design software against China after trade discussions in London
News
Linux 6.16-rc5 Released With A Performance Fix, Bcachefs Fixes & New Device Support
Computing
Today's NYT Wordle Hints, Answer and Help for July 7 #1479 – CNET
News
‘Improved’ Grok criticizes Democrats and Hollywood’s ‘Jewish executives’ | News
News

You Might also Like

Computing

Linux 6.16-rc5 Released With A Performance Fix, Bcachefs Fixes & New Device Support

2 Min Read
Computing

Free Weekly Status Report Templates to Track Progress Efficiently

22 Min Read
Computing

12 Free Approval Matrix Templates to Streamline Decision-Making

22 Min Read
Computing

How to Build a Product Launch Calendar (Templates + Tips)

28 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?