~/talk

A Surprisingly Hard Question: How Much Memory Does My...

links:none on file
slides:none on file

Linux distinguishes free versus available memory (32 GB machine showing 262 MB free but ~half available), and the most useful per-process metric is PSS (read from /proc/[pid]/smaps) because RSS double-counts shared pages. Kernel allocations live in slab pools (inspect slabinfo), CMA reserves remove memory at boot, and zone watermarks trigger the OOM killer even if global free looks high. Use cgroup memory.current, smem or collectd and systemd-cgroup-top to get accurate per-service and system totals.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:09Memory on embedded systems
  3. 3:46Free command and available memory
  4. 6:19Memory metrics in proc files
  5. 7:26Memory mapping basics
  6. 9:36Shared vs private mappings
  7. 13:25Resident size and virtual size
  8. 16:35Proportional set size explained
  9. 19:34Kernel memory zones
  10. 21:37Buddy allocator and fragmentation
  11. 22:41Slab allocator overview
  12. 25:40CMA and reserved memory
  13. 27:09Linux memory reclaim
  14. 28:3932-bit vs 64-bit address space
  15. 29:45Reading PSS from smaps
  16. 30:38Kernel memory in user space
  17. 31:20Control groups and memory
  18. 35:22Global memory usage metrics
  19. 37:30Tools for memory analysis
  20. 37:52Summary and recommendations
  21. 39:14Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.