~/talk

Introduction to Epoch-Based Memory Reclamation

Talkat ACCU 2023 · 2023-04-19..04-22· [concurrency, c-and-cpp]
links:none on file
slides:none on file

Epoch-based reclamation tracks threads with an epoch counter: threads increment a current-epoch counter on entry and decrement on exit, retired nodes go into three bins tied to epoch rotations, and when a bin’s thread count hits zero its nodes are freed. Compared to hazard pointers (which record addresses — often two pointers per list traversal), epoch methods claim lower per-access overhead but can hold an unbounded amount of retired memory if threads are swapped or die. Practical notes: linked lists need only a few protected nodes, balanced trees may require protecting ~log n nodes, and a metrics-collection prototype using epoch bins proves the approach feasible.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Agenda
  3. 1:33Memory Reclamation
  4. 3:33Memory Reclamation Example
  5. 4:35Hazard Pointers
  6. 6:07Epic Based Memory Reclamation
  7. 9:01References
  8. 15:47Questions
~/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.