Skip to content

imukherjee-wdc/zoned_bpftrace

Repository files navigation

This directory contains Bpftrace scripts for Zoned Devices.

Bpftrace info
Project: https://github.com/iovisor/bpftrace
Documentation: https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md
Build Instructions: https://github.com/iovisor/bpftrace/blob/master/README.md

Highly recommended to get the latest from github and build instead of installing the versions
packaged by distributions which are generally older. Bpftrace is a fast moving project and
older versions are likely to have bugs or missing features.

Scripts summary:
- Count_blk_zms.bt - Count the total for all ZMS(Zone Mgmt. Send) cmds issued.
- Latency_blk_zms.bt - Track the latency of ZMS (Zone Mgmt. Send) cmds at block layer level.
- Active_zone_tracker.bt - Track the active zones during host workloads. Helps check whether all
   active zones are being utilised.
- Wrt_zms_lat_and_actv_zone_tracker.bt - Tracks write & ZMS cmds latency, highlights latency
   spikes(threshold should be set by user) and tracks active zone utilisation.

Scripts have detailed explanation and usage notes within.

Contact [email protected] for any queries.


About

Example bpftrace scripts for zoned devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published