~/talk

TCP Socket Lookup Degradation and per-Netns Ehash

links:none on file
slides:none on file

Kernel TCP lookup uses three global hash tables B/L/E and long lists slow lookups so a single noisy tenant can cut TCP throughput. Experiments show throughput ~50 Gbps with a tiny ehash, drops ~10% when list length reaches 64 and falls to ~50% when length exceeds ~300. A per-netns ehash is implemented with sysctls to allocate a private table before creating the namespace, knobs accept sizes (rounded to power of two) and fall back to global on OOM default 0, max 16M. Feature is merged in v6.1.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 0:49Socket management mechanisms
  3. 9:32Addressing lookup degradation
  4. 20:47Per-namespace hash tables
  5. 24:19Tuning and NUMA policy
  6. 25:22Conclusion and summary
~/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.