~/talk

BatchIt: Optimizing Message-Passing Allocators for Producer-Consumer Workloads

Talkat ISMM 2024 · on Tuesday, 2024-06-25· [concurrency]
links:none on file
slides:none on file

Adds a small per-slab associative cache of remote frees that batches objects heading to the same slab, implemented for mimalloc and snmalloc implementations, so remote deallocations are queued in slab-local batches instead of atomically touching global structures. Experiments show reduced atomic operations and cache misses and >20% speedups on some producer‑consumer microbenchmarks. Costs include potential increased slab lifetime and fragmentation in mimalloc and a need to tune cache size and associativity for real workloads; batching of slab-directed frees.

AI-written summary · about

  1. 0:00BatchIt intro and workloads
  2. 1:14Producer-consumer memory patterns
  3. 2:41Message-passing allocators background
  4. 4:49Thread caching and lock contention
  5. 6:14Malloc and SN Maloc design
  6. 8:43Malloc vs SN Maloc trade-offs
  7. 10:11BatchIt optimizations
  8. 12:20Benchmarking results
  9. 14:27Q&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.