fio-plot icon indicating copy to clipboard operation
fio-plot copied to clipboard

--max-iops and --max-latency options don't work for 2D bar chart style graphs (-C and -l)

Open jsrolon opened this issue 3 years ago • 2 comments

Hello, I am trying to get multiple comparison graphs to have the same ranges on their y-axes. I am plotting one comparison graph per numjobs value. I thought that I could accomplish this by using --max-iops and --max-latency, as in:

fio-plot -i libaio uio_pci_generic vfio-pci -T "Dell P4800X SSD" -C -r randrw -f write --numjobs 16 --max-lat 40 --max-iops 300000

Since my latency values range from 9 to 32 us or so in all cases. What happens now is that every graph has its own y-axis value range, making it hard to do comparisons between numjob values hard with quick glances.

Any command line options for this, or should I modify the plotting code?

Thanks!

jsrolon avatar Feb 10 '22 03:02 jsrolon

Hi, I’m not sure exactly what is going on. Could you also share the files so I can reproduce this? Can share them by mail if you want (louwrentius at gmail dot com)

With regards

On 10 Feb 2022, at 04:36, Sebastian Rolon @.***> wrote:

 Hello, I am trying to get multiple comparison graphs to have the same ranges on their y-axes. I am plotting one comparison graph per numjobs value. I thought that I could accomplish this by using --max-iops and --max-latency, as in:

fio-plot -i libaio uio_pci_generic vfio-pci -T "Dell P4800X SSD" -C -r randrw -f write --numjobs 16 --max-lat 40 --max-iops 300000 Since my latency values range from 9 to 32 us or so in all cases. What happens now is that every graph has its own y-axis value range, making it hard to do comparisons between numjob values hard with quick glances.

Any command line options for this, or should I modify the plotting code?

Thanks!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

louwrentius avatar Feb 10 '22 09:02 louwrentius

The answer to your problem is for 99% due either bad documentation or me not implementing things consistently.

I've grepped through the code and the --max-lat --max-iops parameters don't work for this graph type (2d bar chart), it was only implemented for 3D bar charts and -g style graphs.

louwrentius avatar Feb 19 '22 22:02 louwrentius

--max-lat and --max-iops now work for this graph type.

louwrentius avatar Apr 12 '23 15:04 louwrentius