~/talk

Turbo Charge CPU Utilization in Fork/Join Using the ManagedBlocker

Talkat Voxxed Days CERN 2017 · on Saturday, 2017-02-25· [concurrency, java]
slides:none on file

A practical walkthrough shows concrete changes and measured results: replace naive recursion with a logarithmic “dakes for sum of squares” algorithm, parallelize Toom-Cook BigInteger multiply/square with Fork/Join, add a reserved caching entry to avoid duplicate work, and use a ManagedBlocker with the ForkJoinPool so blocked threads trigger extra workers. Runtimes drop from ~44s to ~22s to ~17s to ~8.8s on the demo machine, and peak CPU blackouts shrink (~8% wall‑time gain on the reported run).

AI-written summary · about

  1. 0:00Intro
  2. 8:09ForkJoin
  3. 11:48Big Integer
  4. 16:21Multiply
  5. 22:28Cache
  6. 27:01Reserve Cache
  7. 35:12Phaser
  8. 37:55Workers
  9. 39:18Reserved Blocker
  10. 41:27Volatile Blocker
  11. 45:57Results
~/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.