andSubmarine / FioLogParser

Parse, process and visualize log files generated by FIO (see https://fio.readthedocs.io/en/latest/fio_doc.html)
GNU General Public License v3.0
2 stars 0 forks source link

[BUG] - io_count mode can calculate the wrong IOPS value if log files don't have traces for every msec #5

Closed andSubmarine closed 3 years ago

andSubmarine commented 3 years ago

Describe the bug In fioio_count.py then the way that IOPS is calculated is by collecting over a range of 1000 msec which occurs whenever the timestamp modulo 1000 equals 0. However, there might be cases where no such timestamp is found over a particular range. Then collection will span even greater ranges until it at some point either reaches EOF or a timestamp that equals to zero when taken with modulo 1000.