Skip to content
How Linux Kernel Same-page Merging Saves Memory in Virtualized Environments episode artwork

Jul 9, 2026 8 min

How Linux Kernel Same-page Merging Saves Memory in Virtualized Environments

from The Linux Podcast with Fexingo: Open Source Operating Systems, Distros, and Server Stack Hosted by Fexingo

In this 100th episode, Lucas and Luna explore Kernel Same-page Merging (KSM), a memory-saving feature in Linux that deduplicates identical memory pages across virtual machines and applications. They break down how KSM works under the hood—scanning pages, merging them into a single copy-on-write page, and managing the trade-offs with CPU overhead. The hosts discuss real-world use cases like running hundreds of VMs on a single host, KSM's tuning parameters like pages_to_scan and sleep_millisecs, and its evolution in recent kernel versions. They also touch on KSM's cousin, UKSM, and alternatives like transparent hugepage defragmentation. A practical episode for anyone managing memory-constrained Linux systems. #Linux #KSM #KernelSamePageMerging #MemoryManagement #Virtualization #KVM #QEMU #OpenSource #LinuxKernel #Deduplication #MemorySaving #Hypervisor #TechDeepDive #FexingoBusiness #Technology #BusinessPodcast #LinuxPodcast #SystemAdministration Keep every episode free: buymeacoffee.com/fexingo

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

How Linux Kernel Same-page Merging Saves Memory in Virtualized Environments

0:00 8:20

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The Linux Podcast with Fexingo: Open Source Operating Systems, Distros, and Server Stack?

This episode is 8 minutes long.

When was this The Linux Podcast with Fexingo: Open Source Operating Systems, Distros, and Server Stack episode published?

This episode was published on July 9, 2026.

Can I download this The Linux Podcast with Fexingo: Open Source Operating Systems, Distros, and Server Stack episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.