louwrentius / fio-plot

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

plot 3d graph from randrw benchmark #62

Closed eksklawa closed 2 years ago

eksklawa commented 3 years ago

hi, I run following bench_fio command:

 
██████████████████████████████████████████████████████████████████████████████████████████████
                                +++ Fio Benchmark Script +++

Estimated duration            : 0:42:00
Test target                   : /nfstest
Job template                  : /home/azureuser/fio-plot/benchmark_script/fio-job-template.fio
I/O Engine                    : libaio
Test mode (read/write)        : randrw
IOdepth to be tested          : 1 2 4 8 16 32 64
NumJobs to be tested          : 1 2 4 8 16 32
Block size                    : 4k
Direct I/O                    : 1
Specified test data size      : 20M
Precondition template         : precondition.fio
Read/write mix in %% read     : 80
Time duration per test (s)    : 60
Benchmark loops               : 1
Log interval of perf data (ms): 500
Invalidate buffer cache       : 1
Target type                   : directory
Output folder                 : .
Number of benchmarks          : 42

██████████████████████████████████████████████████████████████████████████████████████████████
 100% |█████████████████████████|   [0:05:51, 0:00:00]-]

I can't figure out how to plot a 3D graph from the data, the command just fails, example what I've tried:

$ ~/fio-plot/fio_plot/fio_plot -i ./nfstest/randrw80/4k/ -T "rhel84 lvm linear" -d 1 2 4 8 16 32 64 -n 2 4 8 16 32 64 -L -t iops -r randrw
Since we are processing randrw data, you must specify a filter for either read or write data, not both.
$ ~/fio-plot/fio_plot/fio_plot -i ./nfstest/randrw80/4k/ -T "rhel84 lvm linear" -d 1 2 4 8 16 32 64 -n 2 4 8 16 32 64 -L -t iops -r write     
Could not find any (matching) JSON files in the specified directory /home/azureuser/nfstest/randrw80/4k

Are the correct directories specified?

If so, please check the -d ([1, 2, 4, 8, 16, 32, 64]) -n ([2, 4, 8, 16, 32, 64]) and -r (write) parameters.

thank you for any hint.

louwrentius commented 3 years ago

You may need to specify a 'filter' parameter -f read or -f write

Please also note tha tnumbjobs in your benchmark run only goes to 32 whereas you do specify 64 which would explain the second error.

louwrentius commented 2 years ago

I'm assuming this issue is resolved.