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
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 14 2024, 2:19 AM
Parents
rGc642e985e596: Revert "Temporarily disable Direct IO by default"
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGe7b64159f86c: ZTS: Optimize Kernel Same-page Merging (KSM) (authored by Tino Reichardt <milky-zfs@mcmilk.de>).Oct 14 2024, 2:19 AM