Hello,

 

I am working on a tool to collect IO statistics like

1.      Read IOPS

2.      Write IOPS

and other metrics on a per process basis for SSD device and given namespace. The assumption is all the Read and Write I/O statistics and latency should be collected for a given process which may do I/O on one or more NVMe SSD devices based on a configuration file.

I am going through the lib/bdev code and trying to see where I can add the code to collect the statistics. I have spent only a few days looking into the SPDK code and new to the code.

Is this the right function, spdk_bdev_io_complete() for me to start looking into?

Please give any suggestions you have or what are the functions I should look into? Where should I investigate more to collect the I/O statistics?

I appreciate your ideas and any help in this regard.

 

Thanks a lot,

Sreeni