Skip to content
How Linux KSM Is Saving Memory in Virtualized Environments episode artwork

Jul 4, 2026 10 min

How Linux KSM Is Saving Memory in Virtualized Environments

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

Kernel Same-page Merging (KSM) is a Linux kernel feature that deduplicates identical memory pages across processes and virtual machines. In this episode, Lucas and Luna explore how KSM works under the hood, why it's critical for virtualized and containerized workloads, and where it falls short. They walk through a real-world example: a KVM host running 20 Ubuntu VMs that saved over 40 percent of RAM using KSM, based on benchmarks from the Linux Foundation's 2025 virtualization report. Lucas explains the trade-offs — CPU overhead versus memory efficiency — and why KSM is not a silver bullet for every scenario. They also discuss the emerging alternative, UBC (Userspace Block Compiler), and how KSM fits into the broader Linux memory management landscape. A focused, technical conversation for anyone running servers at scale. #Linux #KSM #KernelSamepageMerging #MemoryDeduplication #Virtualization #KVM #QEMU #LinuxKernel #MemoryManagement #Containerization #OpenSource #CloudComputing #DevOps #SysAdmin #Technology #FexingoBusiness #BusinessPodcast #LinuxPodcast Keep every episode free: buymeacoffee.com/fexingo

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

How Linux KSM Is Saving Memory in Virtualized Environments

0:00 10:19

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 10 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 4, 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.