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
Embed this episode
No transcript yet.