louwrentius / fio-plot

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

Other comparisons #67

Open travisdowns opened 2 years ago

travisdowns commented 2 years ago

Love this, but a question: the possible chart types are hardcoded, right? E.g., comparing by iodepth or numjobs.

How about if I want to vary other parameters, e.g., see how IOPS vary with block size?

travisdowns commented 2 years ago

I just saw the -C option, it may be what I want...

Will close this if so.

louwrentius commented 2 years ago

It may be that the compare option is not flexible enough to display blocksizes on the axes, unfortunately the metrics are fixed. It makes total sense to allow Fio users to plot arbitrary metricsz

On 1 Dec 2021, at 07:51, Travis Downs @.***> wrote:

 I just saw the -C option, it may be what I want...

Will close this if so.

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

pzheng1025 commented 2 years ago

Hello Travis, You can use -C to compare IOPS and latency for different block sizes.

Hello Louwrentius, I want to compare bandwidth for different block sizes. looks like -C option only supports IOPS and latency. -t option can specify bandwidth, but it isn't compatible with -C. Is there an way to do this?

travisdowns commented 2 years ago

Yeah it turns out -C wasn't what I wanted.

louwrentius commented 1 year ago

Because the bench-fio tool creates folders for each block size tested, it's now possible to do a -C compare graph and adjust the label such that the block size is included.

~/projects/fio-plot/bin/fio-plot -i PMEM0_1_RR_15M/pmem0.1/1k/ PMEM0_1_RR_15M/pmem0.1/4k/ PMEM0_1_RR_15M/pmem0.1/8k/ -T "Test" -C -r randread --xlabel-parent 0

Test_2023-04-15_010215_xY

However, comparing bandwidth with particular block-sizes can't be done, only be inferred. The IOPS and Latency columns are still hard-coded.