Linux Swap Tables, a revolution in performance

A new set of 27 patches It brings a “Swap Tables” mechanism to the Linux kernel that aims to improve virtual memory management. penguins

The “Swap Tables” mechanism aims for lower memory usage, higher performance, dynamic swap allocation and growth, greater scalability, and other improvements over the existing swap code that exists within the Linux kernel.

See more articles from iGuRu.gr when you search for news on Google.

Tencent engineer Kairui Song has released a series of Swap Table patches to implement design ideas discussed in recent months by core developers.

The results are very exciting:

“With this order, the swap subsystem will have a ~20-30% performance gain over basic swap. Idle memory usage is already much lower, average memory consumption remains the same or will be even lower (with further processes). And this will allow for many more future optimizations, with better defined swap operations.”

The code updates also clean up and address various historical issues with the SWAP subsystem.

For those who do not know:

In Linux, swap space (SWAP) acts as a buffer for RAM, storing inactive memory pages on disk to free up RAM for active processes.

Traditional exchange mechanisms have limited flexibility and performance. The proposed “Swap Tables” aim to address these issues by allowing more efficient and dynamic management of the exchange space, potentially leading to better system responsiveness and resource utilization.


Google preferences

Leave a Comment

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

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).