How Linux Handles Memory Fragmentation on Production Servers episode artwork

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

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

0:00 7:38

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

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

What is this episode about?

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

Can I download this The Linux Podcast with Fexingo: Open Source Operating Systems, Distros, and Server Stack episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!