~/talk

Optimize librbd for Lower CPU Cost and Higher Scalability

Talkat Cephalocon Barcelona 2019 · 2019-05-19..05-20
name:Li Wang
links:none on file
slides:none on file

Replaces single-buffer writes with rbd_aio_writev and implements zero copy in the librbd messenger, removing two memcpy hotspots so 1 MiB sequential writes show 48% less CPU, 46% lower latency and 85% higher IOPS in tests; adds multiple writeback threads and finer-grained rbd cache locking to improve scalability; introduces a client-side image cache (qcow2 file placed on compute nodes) to offload read pressure on the cluster; notes zero-copy cannot be used with read-back writeback cache and requires newer librbd APIs.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 2:42LPS scaling bottleneck
  3. 6:25Client-side image cache
  4. 10:23Memory copy overhead optimizations
  5. 19:18Performance results and community experience
~/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.