~/talk

Ship your Critical Section, Not Your Data: Enabling Transparent Delegation with TCLOCKS

Talkat OSDI 2023 · 2023-07-10..07-12· [concurrency, distributed-systems]
links:none on file
links:none on file
name:Diyu Zhou
links:none on file
links:none on file
slides:none on file

TCLocks implements transparent delegation by saving a waiter’s CPU context (IP, SP, registers) at lock and unlocking, making the queue head act as a server that runs waiters’ critical sections via lightweight context switches and batching, plus an ephemeral stack to handle interrupts and parking. Implemented in kernel and user space, it reduces shared-data movement and cuts critical-section time; evaluation shows up to 5.2× speedup on LevelDB, ~2× in a kernel map-reduce benchmark, and up to 3.8× cross-socket, with a 12% hit at 2–4 cores.

AI-written summary · about

  1. 0:00TCLOCKS and delegation intro
  2. 1:26Why locks matter for performance
  3. 3:34Traditional lock limitations
  4. 5:39Delegation locks challenges
  5. 6:22TCLOCKS goals and questions
  6. 8:10TCLOCKS transparent delegation
  7. 10:39Handling interrupts and cases
  8. 11:20Performance evaluation setup
  9. 12:45Microbenchmark results
  10. 13:06Kernel/user-space benchmarks
  11. 13:47Conclusion and future
~/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.