~/talk

Understanding and Working with the Cgroups Interface

links:none on file
slides:none on file

Cgroups provide per-group control of CPU, memory, block I/O, devices, network classing and more, exposed via a virtual filesystem that must be mounted and may be v1 or v2. Example workflow shows creating a memory group, echoing a 50MB limit into limit_in_bytes, adding PID 31344 to cgroup.procs, and using libs and tools like cgcreate and cgexec. CPU scheduling uses 1024 shares as full weight and changing shares to 768/256 yields about 75%/25% CPU in tests.

AI-written summary · about

  1. 0:00Introduction
  2. 1:19Overview
  3. 2:56What does Cgroups do
  4. 4:20Cgroups Hierarchy
  5. 6:54Distributions and Cgroups
  6. 8:28Hierarchy
  7. 9:14Block IO
  8. 16:43Huge TLB
  9. 19:49CPU Monitoring
  10. 21:15Memory Controller
  11. 22:11Manual Cgroups Interface
  12. 25:13Cgroups Tools
  13. 26:09Testing
  14. 26:54Adjusting
  15. 30:02CPU Sets
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.