~/talk

“How to make your data structures wait-free for reads"

Talkat CppCon 2015 · 2015-09-21..09-25· [concurrency]
links:none on file
slides:none on file

Presents the Left-Right algorithm: writers take a mutex and update the inactive copy while readers use an atomic version index and per-thread padded counters (hashing thread ID into an array) to do wait-free population-oblivious reads without a GC. Implementation keeps two copies (two-instance double-buffering), is linearizable, provides its own safe memory reclamation, and benchmarks on x86 (18 cores) and PowerPC show near-linear read scaling and 10x lower tail latency (example: reader/writer 99th ~51µs vs Left-Right ~2–7µs). Code and slides on the CppCon 2015 GitHub.

AI-written summary · about

  1. 0:00Introduction to progress
  2. 0:55Understanding progress types
  3. 3:34Blocking and scalability
  4. 6:29Starvation-free locks
  5. 10:09Lock-free algorithms
  6. 12:30Wait-free properties
  7. 15:23Analyzing method progress
  8. 17:40Latency distributions
  9. 25:02Reader-writer locks
  10. 27:02Copy-on-write technique
  11. 29:06The left-right pattern
  12. 35:25Read indicator design
  13. 38:51Left-right state machine
  14. 41:51Consistency models
  15. 47:20Performance benchmarks
  16. 55:05Optimized left-right
  17. 57:11Technique interchangability
  18. 59:34Questions and answers
~/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.