~/talk

Lock me up, Scotty!

Talkat Core C++ 2025 · on Sunday, 2025-10-19· [concurrency, c-and-cpp]
links:none on file
slides:none on file

Custom lock replaces the stock std::mutex inside Intel SGX enclaves by keeping the synchronization state kept in enclave and combining a short bounded spin phase with a fallback futex via an OCall so the kernel never needs enclave-resident pointers. OCall overhead is about 10,000 cycles versus a syscall of a few hundred, so the design adaptive locking spins a fixed number of times then wakes the kernel. Benchmarks show 2–4× throughput and real workloads gain about 5–10% latency or throughput.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:57Problem with standard mutex
  3. 7:26Solving mutual exclusion
  4. 12:26OS-provided synchronization
  5. 16:27Parking lot design pattern
  6. 18:36Improving Intel's mutex
  7. 21:29Fairness vs performance
  8. 24:03Benchmark results
  9. 25:47Key takeaways and advice
  10. 27:14Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.