On 8/11/20 5:04 PM, Aleksei Marov wrote:
Is it possible to collect the very same stats (distribution of sizes and distribution of lat) without having static maps in kernel but with eBPF tracing? Like using https://github.com/iovisor/bcc/tree/master/tools/ * biolatency for lat distribution * bitesize for size distribution Please, have a look at these and similar tools (biolatpcts, biosnoop). Check the examples they have https://github.com/iovisor/bcc/blob/master/tools/bitesize_example.txt https://github.com/iovisor/bcc/blob/master/tools/biolatency_example.txt Let me know what is the difference comparing to your stats.
The difference is about the cost, please see the link. https://marc.info/?l=linux-block&m=159458634517068&w=2 Thanks, Guoqing