~/talk

“Cache Optimized Hash Tables”

Talkat CppCon 2016 · 2016-09-18..09-23· [c-and-cpp, web-performance]
links:none on file
slides:none on file

Describes a cache‑focused hash implementation (Rabbit) that combines linear probing with a small overflow end‑of‑run bucket, stores separate keys and values and a compact bitmap states array to cut memory and cache misses. Presents microbenchmarks vs Google sparse_hash and std::unordered_map showing roughly 20–50% faster lookups on medium/high‑entropy data and much lower memory growth, and reports integration into treestore MySQL and use with Facebook linkbench for mostly lock‑free allocation and concurrent versioning.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 0:25Why optimize CPU cache
  3. 3:03CPU cache fundamentals
  4. 9:20Memory access patterns
  5. 11:34Cache hierarchy overview
  6. 12:17Hash table algorithms
  7. 13:30Linear probing basics
  8. 16:18Separate keys and values
  9. 17:47Linear probing clustering
  10. 21:32Hash function randomness
  11. 23:40Load factor and clustering
  12. 27:02Bucket optimization
  13. 28:32Bitmap for state storage
  14. 29:40Birthday paradox in hash tables
  15. 30:23Benchmark results overview
  16. 34:33Profiling workload example
  17. 37:09Cache misses in practice
  18. 37:32Q&A session starts
~/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.