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
What this episode covers
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
NOW PLAYING
How Linux Handles Memory Fragmentation on Production Servers
No transcript for this episode yet
Similar Episodes
Mar 26, 2026 ·1m
Mar 19, 2026 ·34m
Feb 18, 2026 ·11m
Feb 11, 2026 ·45m