louwrentius / fio-plot

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

fio-plot #130

Closed NIKREB23 closed 10 months ago

NIKREB23 commented 10 months ago

Hi, now iam able to get the out put file but still it throwing this error

(fio-plot) ubuntu@host1:~/fio$ fio-plot /home/ubuntu/fio/fio-plot.ini -T "surya" -N -r randread -O /path/to/output-directory/ type colors

Saving to file /home/ubuntu/fio/fio-plot/surya

Traceback (most recent call last): File "/home/ubuntu/fio/fio-plot/bin/fio-plot", line 11, in load_entry_point('fio-plot==1.1.12', 'console_scripts', 'fio-plot')() File "/home/ubuntu/fio/fio-plot/lib/python3.8/site-packages/fio_plot/init.py", line 39, in main routing_dict[graphtype]["function"](settings, data) File "/home/ubuntu/fio/fio-plot/lib/python3.8/site-packages/fio_plot/fiolib/bar2d.py", line 184, in chart_2dbarchart_jsonlogdata supporting.save_png(settings, plt, fig) File "/home/ubuntu/fio/fio-plot/lib/python3.8/site-packages/fio_plot/fiolib/supporting.py", line 474, in save_png write_png_metadata(savename, settings) File "/home/ubuntu/fio/fio-plot/lib/python3.8/site-packages/fio_plot/fiolib/supporting.py", line 478, in write_png_metadata targetImage = PngImageFile(filename) File "/home/ubuntu/fio/fio-plot/lib/python3.8/site-packages/PIL/ImageFile.py", line 105, in init self.fp = open(fp, "rb") FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/fio/fio-plot/surya' fio_results3.json fio_results3.json nikhil surya

NIKREB23 commented 10 months ago

[graphtype].txt

louwrentius commented 10 months ago

Thank you for sharing the info, I'll have to take a look in the coming days

NIKREB23 commented 10 months ago

yah please if any lead let me know : )

louwrentius commented 10 months ago

I've renamed your json file like this and pointed fio-plot input dir to the 4k folder.

data/
└── vda
    └── 4k
        └── randread-16-4.json

fio-plot.ini.txt

Maybe the included tool 'bench-fio' may help create more meaningfull results, but that's up to you.

NIKREB23 commented 10 months ago

thank you so much end up with good result : )