~/talk

Performance Profiling in FoundationDB

links:none on file
slides:none on file

Benchmarks use perf (perf trace -s, perf record, perf report, perf script) to pinpoint a client-side bottleneck where a single networking/library thread consumes ~50% CPU via futex synchronization; splitting threads across multiple client processes restores scalability. Storage work on Redwood replaces a map-backed mutation buffer with an adaptive radix tree to cut key-comparison work and yields 11–15% speed-up, then adds a fast allocator (linked to tcmalloc) to reach 22–28% speed-up. Runtime USDT probes (FDB_TRACE_PROBE) enable low-overhead live metrics and queue/actor timing.

AI-written summary · about

  1. 0:00Start
  2. 1:59Features of Perf
  3. 2:20Bottleneck Identification
  4. 7:22Perf Record
  5. 8:10Memory Comparison
  6. 11:01Micro Benchmark
  7. 17:43Use Cases for the Perf Tool
~/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.