MM101: Introduction to Linux Memory Management
summary
Explains Linux paging with 4 KB pages and page frame numbers (roughly one million pages per 4 GB), virtual vs physical vs swap, copy‑on‑write and the zero page trick, and read‑ahead behavior (example: 512 KB prefetch). Shows how to inspect memory with /proc/meminfo, /proc/<pid>/status, free, top and dmesg and interprets fields like VmPeak, VmRSS and VmSwap. Covers ulimit, sysctl overcommit modes overcommit=0/1/2, swap usage, and tuning knobs like dirty_ratio and dirty_writeback_centisecs.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 0:53Memory Processes
- 1:39Page Frames
- 3:44Page Tables
- 7:01Memory Map
- 9:43Special Pages
- 16:49System Program Info
- 22:04Inspecting Memory Use
- 24:29Memory Limits
- 25:28Overcommit
- 27:29Dirty Things
- 30:41Contact Christopher
- 31:07Questions
- 37:43Conclusion
related talks
51mIntroduction to Memory Management in Linux
26mLet's demystify memory
44mLarge Pages in Linux
01h 36mTutorial: Linux Memory Management and Containers
01h 36mLinux Memory Management and Containers
41mLies Programmers Believe about Memory
30mFlexible Paging in Linux: Per-process Page Size
46mDeep dive into virtual memory and large pages
