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

Jul 7, 2026 7 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

In this episode of The Linux Podcast with Fexingo, Lucas and Luna dive into Kernel Same-page Merging (KSM) — a memory-saving technique that deduplicates identical pages across virtual machines and containers. They break down how KSM works, its performance trade-offs, and real-world use cases like large-scale server consolidation. Using concrete examples like a hosting provider running 200 VMs on a single host, they explain how KSM can reduce memory usage by 30-50% without sacrificing stability. Along the way, they touch on the merge_across_nodes debate, the role of ksmd and its CPU overhead, and when to use madvise vs. KSM. A practical, specific look at a feature that quietly powers cloud infrastructure everywhere. #KSM #KernelSamePageMerging #Linux #MemoryManagement #Virtualization #KVM #Containers #CloudInfrastructure #ServerConsolidation #ksmd #MemoryDeduplication #OS #Technology #LinuxPodcast #FexingoBusiness #BusinessPodcast #Podcast #Episode97 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 7:01

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