~/talk

BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack Processing

Talkat NSDI ’21 · 2021-04-12..04-14· [databases, linux-and-operating-systems]
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

BMC implements an in-kernel Memcached cache that processes UDP get requests at NIC interrupt time using eBPF/XDP, splitting logic into seven eBPF programs and computing keys with a rolling hash to stay within verifier limits. On 40 GbE hardware it boosts small-request throughput up to 18x versus vanilla Memcached and up to 6x versus a SO_REUSEPORT-optimized build, outperforms a DPDK-based systar implementation for UDP (≈5x) while using about 3× less CPU, and reports negligible overhead on non-target workloads.

AI-written summary · about

  1. 0:00Intro
  2. 0:28Memcached
  3. 1:15Observations
  4. 3:20BMC: Key idea
  5. 4:11BMC: in-kernel proxy
  6. 5:54Implementation
  7. 6:59Dealing with eBPF's limitations
  8. 7:39Experimental setup
  9. 9:11Receive-Process-Reply latency
  10. 9:49Comparison to kernel-bypass: Seastar
  11. 10:09Comparison to kernel-bypass throughput
  12. 11:01Comparison to kernel-bypass: CPU usage
  13. 11:54Conclusion
~/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.