[$] An overview of kernel samepage merging (KSM)

Post Syndicated from jake original https://lwn.net/Articles/953141/

In the Kernel Summit
track
at the 2023 Linux
Plumbers Conference
(LPC), Stefan Roesch led a session on kernel
samepage merging
(KSM). He gave an overview of the feature and described
some recent changes to KSM. He showed how
an application can enable KSM to deduplicate its memory and how the feature
can be evaluated to determine whether it is a good fit for new workloads.
In addition, he provided some real-world data of the benefits from his
workplace at Meta.