~/talk

Can There Be Too Much Parallelism?

Talkat SciPy 2023 · 2023-07-10..07-16· [python]
slides:none on file

Yes, too much parallelism causes real slowdowns and stalls: nesting an eight‑thread worker inside another eight‑thread loop commonly oversubscription (8+8 stalls). Practical tools discussed include OpenMP, OpenBLAS/MKL, Python multiprocessing (fork pitfalls), PyTorch num_workers, and threadpoolctl which provides a threadpoolctl context manager to force inner loops to one thread (scikit‑learn uses this). Config options are OMP_NUM_THREADS or GO_NUM_THREADS; a proposed fix is shared runtimes like conda‑forge single threadpool or shipping OpenMP wheels on PyPI.

AI-written summary · about

  1. 0:00Introduction to parallelism
  2. 3:38Defining the problem scope
  3. 5:07Configuration APIs
  4. 10:58Managing library interactions
  5. 20:59Default behaviors
  6. 25:18Conclusion and future outlook
  7. 26:24Q&A session
~/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.