~/talk

Multi-Priority Graph-Based Parallel Execution Using Taskflow

Talkat C++Now 2026 · 2026-05-04..05-08· [concurrency, c-and-cpp]
links:none on file
slides:none on file

Benchmarks add priority to C++ Taskflow with two practical modes: a buffered three-queue design (one chase-lev deque per priority plus a local buffer) and an enforced-steal mode that always steals to honor priority. A complex chunk-based priority queue is evaluated too but proves harder to implement and slower under high contention. Microbenchmarks (example on a 14‑core Mac) show a pathological schedule dropping makespan from 9s to 6s with longest-first ordering; the buffered mode matches default latency on uniform work and improves mixed-work cases. A PR exists upstream.

AI-written summary · about

  1. 0:00Introduction to Taskflow
  2. 1:49Taskflow scheduling
  3. 6:22Non-deterministic execution problem
  4. 13:10Longest processing time heuristic
  5. 16:17Priority-aware data structures
  6. 24:43Priority queue benchmarks
  7. 26:31Priority-aware scheduling solution
  8. 35:26Future work and conclusion
  9. 37:39Q&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.