~/talk

Diving deeper into control groups (cgroups) v2

slides:none on file

Demonstrates three concrete cgroup v2 features with live demos: release notification by monitoring cgroup.events (watching the populated key via inotify or poll/epoll) to detect when a subtree becomes empty; delegation by chowning the cgroup directory and specific files (cgroup.procs, cgroup.subtree_control) guided by /sys/kernel/cgroup/delegate and enforcing containment rules that require write on the target procs and the common-ancestor procs; and thread mode by creating threaded subtrees (cgroup.type = threaded) and moving individual threads via cgroup.threads to impose per-thread cpu.max limits — the examples run and show expected behavior.

AI-written summary · about

  1. 0:00Start
  2. 0:58Release Notification
  3. 1:26Cgroup Release Notification
  4. 14:24Resource Controller Interface
  5. 14:55The Delegation Step
  6. 16:34The Delegation Containment Rules
  7. 30:30Thread Mode
  8. 31:40The Memory Controller
  9. 34:38Threaded Subtrees
  10. 37:45Cgroup Threads
  11. 38:03Cgroup Type
  12. 39:00Domain Invalid
  13. 44:13Create a Threaded Subtree
  14. 55:47Implicit Transitions
~/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.