louwrentius / fio-plot

Create charts from FIO storage benchmark tool output
BSD 3-Clause "New" or "Revised" License
373 stars 88 forks source link

fio-plot: error processing randrw data #101

Closed cmonty14 closed 1 year ago

cmonty14 commented 1 year ago

Hello,

after creating fio benchmark of type randrw, I want to create a chart using this command that fails with error:

$ fio-plot -i /srv/nfsv4/benchmark/4k/randrw75/CCLOUD_HDD/ /srv/nfsv4/benchmark/4k/randrw75/CCLOUD_SSD /srv/nfsv4/benchmark/4k/randrw75/CCLOUD_MANILA -T "Comparing CCloud HDD/SSD/Manila" --subtitle "| 4k | randrw75 | iodepth 1 | jobs 1 |" -C --rw randrw --xlabel-parent 0
Since we are processing randrw data, you must specify a filter for either read or write data, not both.

The fio-plot help page says:

 -r {read,write,randread,randwrite,randrw,trim,rw,readwrite,randtrim,trimwrite}, --rw {read,write,randread,randwrite,randrw,trim,rw,readwrite,randtrim,trimwrite}
                        Specifies the kind of data you want to graph.

Please advise how to create a chart for randrw using fio-plot.

THX

louwrentius commented 1 year ago

The -f read or -f write option filters the data. A compare chart can only either compare reads or write results, not both ar the same time.

cmonty14 commented 1 year ago

Thanks for sharing this info. I'll close the issue accordingly.