One of the all time problems which exists in any operating system which uses virtual memory, is memory fragmentation. In this video I explore what it is, how the Linux kernel attempts to minimize it, and what tools you can use to monitor it. I will answer the question do you need swap, if so how much swap?, swapfile vs swap partition? How linux works without a swap
Tool to show memory fragmentation as percent: https://github.com/bittorf/calculate-linux-memory-fragmentation
Chapters
00:00 - Intro
00:28 - Linux is a Virtual Memory OS
01:58 - Virtual Memory and Fragmentation
03:28 - Memory Fragmentation
08:34 - Proactive Compaction
09:24 - Memory Fragmentation Tools
10:27 - Swap
21:48 - Outro
Support me on Patreon: https://www.patreon.com/DJWare
Follow me:
Twitter @djware55
Facebook:https://www.facebook.com/don.ware.7758
Gitlab: https://gitlab.com/djware27
#Linux #VirtualMem #MemFrag
72 Comments