HomeFreeBSD

ZTS: Optimize Kernel Same-page Merging (KSM)

Description

ZTS: Optimize Kernel Same-page Merging (KSM)

Kernel same-page Merging (KSM) allows KVM guests to share identical
memory pages. These shared pages are usually common libraries or other
identical, high-use data.

The current configuration was a bit to lazy - so KSM didn't work very
well. With the new configuration I could run 3 Linux VMs in parralel.

FreeBSD can't benefit from it. But FreeBSD is not so memory hungry in
general, so there is no need for it ;)

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #16641

Details

Provenance
Tino Reichardt <milky-zfs@mcmilk.de>Authored on Oct 12 2024, 7:53 AM
Tony Hutter <hutter2@llnl.gov>Committed on Nov 5 2024, 7:09 PM
Parents
rG09f7432f83e3: CI: Stick with ubuntu-22.04 for CodeQL analysis
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG34537bd9c7d8: ZTS: Optimize Kernel Same-page Merging (KSM) (authored by Tino Reichardt <milky-zfs@mcmilk.de>).Nov 5 2024, 7:09 PM