~/talk

Single node shared memory comes to dask

Talkat PyData Global 2022 · 2022-12-01..12-03· [python]
slides:none on file

A Dask fork copies pickled buffers into shared memory so processes map the same bytes, demonstrating that scatter/replicate reduces memory from six workers to one copy instead of 6× duplication. Benchmarks use Arrow LMDB Vineyard backends; LMDB is marginally slower. Shared memory works well for explicit replication but gives no speedup for typical dataframe/array shuffles. Important failures: Dask’s scheduler and memory accounting remain unaware of shared segments, and pickling sliced views forces new buffers so accidental copies still occur.

AI-written summary · about

  1. 0:00Dask and shared memory intro
  2. 2:13Dask distributed clusters
  3. 4:24Dask cluster deployment
  4. 7:34Memory errors in Dask
  5. 9:38Single-node Dask benefits
  6. 12:28Shared memory vs TCP
  7. 14:36Shared memory in Dask
  8. 17:05Shared memory benchmarks
  9. 19:13Shared memory limitations
  10. 22:42Summary and future
~/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.