rbperf: Understanding Ruby with BPF
Javier Honduvilla Coto <javierhonduco@fb.com>
October 28th-29th, 2020
rbperf: Understanding Ruby with BPF Javier Honduvilla Coto - - PowerPoint PPT Presentation
rbperf: Understanding Ruby with BPF Javier Honduvilla Coto <javierhonduco@fb.com> October 28th-29th, 2020 Why BPF? Why BPF? - Flexibility Why BPF? - Flexibility - Low overhead Why BPF? - Flexibility - Low overhead - Continuous
Javier Honduvilla Coto <javierhonduco@fb.com>
October 28th-29th, 2020
Why BPF?
Why BPF?
Why BPF?
Why BPF?
rbperf
rbperf
rbperf – on-CPU profiling
rbperf – Rails on-CPU profile
rbperf – tracing write(2) calls
Architecture
(timer, syscall, etc) BPF code (bpf/rbperf.c) Read frame Driver (rbperf.py)
(pid to profile, thread address)
and persistence BPF tail-calls Bounded loop
Challenges
Challenges
Challenges
Challenges
Future plans
https://github.com/facebookexperimental/rbperf
javierhonduco@fb.com @javierhonduco