EPISODE · Jun 7, 2026 · 7 MIN
How Linux Handles Memory Fragmentation on Production Servers
from The Linux Podcast with Fexingo: Open Source Operating Systems, Distros, and Server Stack · host Fexingo
Episode 36 of The Linux Podcast dives into memory fragmentation, a silent performance killer on long-running Linux servers. Lucas explains how the kernel's buddy allocator causes external fragmentation over time, and how newer features like THP compaction, proactive compaction via khugepaged, and the 'compact_memory' sysfs interface help. Luna shares a real-world case where a Redis instance on a 128GB machine saw 40% tail latency spikes due to fragmentation. They discuss practical monitoring with /proc/pagetypeinfo, when to trigger compaction manually, and why some workloads benefit from transparent huge pages while others should disable them. No theory without application: listeners will learn one command to check their server's fragmentation level today. #Linux #MemoryManagement #Fragmentation #Kernel #BuddyAllocator #TransparentHugePages #THP #ProactiveCompaction #khugepaged #Redis #SysAdmin #Performance #ServerOptimization #Technology #FexingoBusiness #BusinessPodcast #OpenSource #Systems Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
NOW PLAYING
How Linux Handles Memory Fragmentation on Production Servers
No transcript for this episode yet
Similar Episodes
Similar Podcasts
No similar podcasts found.