~/talk

Using Race Conditions in Correct Concurrent Software

Talkat Strange Loop 2015 · 2015-09-24..09-26· [web-performance]
links:none on file
slides:none on file

Claims that intentionally exploited races plus atomic primitives yield faster, more predictable concurrency instead of only bugs. Implements a micro slab shared allocator in C using the Concurrency Kit and CPU atomics like compare-and-swap, fixes the ABA problem with a generation counter and double-width CAS, and measures throughput/latency. Locking spinlocks lose throughput by orders of magnitude under contention and show huge tail latency, while the lock‑free allocator scales near‑linearly and produces two orders of magnitude tighter latency variation, so the thing actually works.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07The Problem
  3. 2:47Slab Allocators
  4. 8:32C Implementation
  5. 12:19Linearize Ability
  6. 14:38Linearization Point
  7. 22:58Compare and Swap
  8. 27:33The ABA Problem
  9. 31:58Latency Plots
  10. 35:55Conclusion
~/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.