~/talk

Restartable Sequences: Scaling Per-Core Shared Memory Use in Containers

links:none on file
slides:none on file

Proposal extends restartable sequences with a new per-memory-space vcpu ID field so shared memory users allocate arrays sized to container-visible CPUs instead of global possible CPUs. Kernel patch adds mm_vcpu_id, a bitmap allocator for vCPU IDs, and uses scheduler/cgroup CPU-set info; implementation lazy-allocates per-index (null pointers then real pages) to limit memory. Works for per-process arenas but raises shared-memory issues: where to store the bitmap (cgroup vs IPC namespace), hierarchical cgroup behavior, and CRIU checkpoint/restore mismatches.

AI-written summary · about

  1. 0:00Introduction to restartable sequences
  2. 1:46Problem with per-core memory in containers
  3. 4:55Restartable sequences for memory allocators
  4. 8:27Shared memory use in containers
  5. 12:23Max vCPU allocation challenges
  6. 13:07Restartable sequence vCPU ID allocation domain
  7. 18:40Namespace and cgroup considerations
  8. 20:26Independence from constraint technology
  9. 21:08Dynamic CPU set changes
  10. 22:11Q&A and closing
~/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.