bitesize.bt(8) | System Manager's Manual | bitesize.bt(8) |
bitesize.bt - Show disk I/O size as a histogram. Uses bpftrace/eBPF.
bitesize.bt
This can be used to characterize the distribution of block device (disk) I/O sizes. To study block device I/O in more detail, see biosnoop.bt(8).
This uses the tracepoint:block:block_rq_issue tracepoint, and is a simple example of bpftrace.
Since this uses BPF, only the root user can use this tool.
CONFIG_BPF and bpftrace.
Since block device I/O usually has a relatively low frequency (< 10,000/s), the overhead for this tool is expected to be low or negligible. For high IOPS storage systems, test and quantify before use.
This is from bpftrace.
Also look in the bpftrace distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool.
This is a bpftrace version of the bcc tool of the same name.
Linux
Unstable - in development.
Brendan Gregg
2018-09-07 | USER COMMANDS |