PKSM: A New Data De-Duplication Method For Linux

Written by Michael Larabel in Linux Kernel on 11 April 2013 at 06:45 PM EDT. 3 Comments
LINUX KERNEL
PKSM is a new system memory de-duplication method for the Linux kernel that was developed after seeing the current KSM and UKSM approaches as being ineffective.

PKSM is developed as an improvement over KSM (Kernel Samepage Merging) and UKSM (Ultra Kernel Samepage Merging) for memory-saving data de-duplication by merging matching anonymous pages between programs. Ultra KSM provides transparent full system memory de-duplication on Linux, but PKSM seeks to take data de-duplication one step further for the Linux kernel. (Ultra KSM was previously covered on Phoronix last summer.)

PKSM seeks to be fully transparent for the user in terms of memory data de-duplication, highly effectively for anonymous page detection through the use of a new algorithm, provides full zero page consideration, and checks the page content periodically.

PKSM 0.1 was released in late March as a patch against the Linux 3.6 kernel. There's also Arch Linux package. At the moment it doesn't appear the project is attempting mainline inclusion anytime soon.

For those wanting to find more about this Linux kernel feature for memory de-duplication of pages, visit the Google Code page.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week