| biostacks.bt(8) | System Manager's Manual | biostacks.bt(8) |
biostacks - Show disk I/O latency with initialization stacks. Uses bpftrace/eBPF.
biostacks
This tool shows disk I/O latency histograms for each block I/O initialization path. This can help reveal the reason for different latencies, as some may be created by log flushing, others by application reads, etc.
This works by attaching to block_io_start and block_rq_issue tracepoints.
Since this uses BPF, only the root user can use this tool.
CONFIG_BPF and bpftrace.
The rate of biostacks should be low (bounded by device IOPS), such that the overhead of this tool is expected to be negligible.
This tool originated from the book "BPF Performance Tools", published by Addison Wesley (2019):
See the book for more documentation on this tool.
This version is in the bpftrace repository:
Also look in the bpftrace distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool.
Linux
Unstable - in development.
Brendan Gregg
| 2019-07-12 | USER COMMANDS |