The tool help report file system cache miss i/o block device using BPF tracing.
- Setup
sudo bash -c "printf \"deb http://http.us.debian.org/debian unstable main non-free contrib\ndeb-src http://http.us.debian.org/debian unstable main non-free contrib\" >> /etc/apt/sources.list"
sudo apt update
sudo apt install bpfcc-tools -y
wget https://raw.githubusercontent.com/rite2nikhil/fblktrace/master/fblktrace.py
wget https://raw.githubusercontent.com/rite2nikhil/fblktrace/master/report.py
- Run FBLKTrace
timeout -k 20 10 sudo python ./fblktrace.py 2>&1 /dev/null >> /tmp/bpf_out
- Report
sudo python ./report.py /tmp/bpf_out