~/talk

Priodomainslib: Prioritized Fine-grained Parallelism for Multicore OCaml

Talkat OCaml 2024 · on Saturday, 2024-09-07· [concurrency]
links:none on file
slides:none on file

Priodomainslib extends Domainslib with a priority-aware work-stealing scheduler, a priority-aware mutex wrapper that implements the priority protection protocol, and an API where async accepts an optional priority and existing Domainslib code runs unchanged at a single priority. Prototype is a fork with microbenchmarks and a 300-line web‑server demo. Current overhead is nontrivial: Domainslib shows ~2.5x speedup vs Priodomainslib’s ~1.75x on Fibonacci (4 cores), so more engineering remains.

AI-written summary · about

  1. 0:00Prioritized fine-grained parallelism
  2. 2:25PRIodomainslib extension
  3. 4:30API design and examples
  4. 8:22Mutexes and priority inversion
  5. 11:15Priority ceilings in web server
  6. 13:03PRIodomainslib scheduler design
  7. 15:52Implementation and benchmarks
  8. 17:36OCaml runtime limitations
  9. 18:40Priority protocols and future work
  10. 19:00Q&A
~/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.