Skip to contentSkip to conversation

fio2gnuplot issue

DISCUSSION Saeed Tea 2 participants 8 messages Jul 5, 2016 – Jul 21, 2016

lore
Share & tools
lore

Saeed Tea

author
#0 lore raw

I'm trying generate graphs with logs create by fio using fio2gnu and keep getting this error when generating graphs for iops or bandwidth:

1 files Selected with pattern '*_iops.log'
|-> 4k.results_iops.log

Running gnuplot Rendering "/usr/share/fio//math.gpm", line 25: no datablock named $1

"/usr/share/fio//graph2D.gpm", line 25: no datablock named $1

Rendering traces are available in the current directory

Checking the directory listing only shows this file:

$3.png

Am I missing something in fio profile??� Here's a snippet:

[global]
rw=randread
ioengine=posixaio
iodepth=64
size=10g
direct=0
buffered=1
startdelay=5
ramp_time=5
runtime=20
time_based
disk_util=0
clat_percentiles=0
write_bw_log=4k.results
write_iops_log=4k.results
write_lat_log=4k.results
per_job_logs=0

author
#1 lore raw

This is with fio 2.12

Quoted 36 lines · Saeed Tea

I'm trying generate graphs with logs create by fio using fio2gnu and keep getting this error when generating graphs for iops or bandwidth:

1 files Selected with pattern '*_iops.log'
|-> 4k.results_iops.log

Running gnuplot Rendering "/usr/share/fio//math.gpm", line 25: no datablock named $1

"/usr/share/fio//graph2D.gpm", line 25: no datablock named $1

Rendering traces are available in the current directory

Checking the directory listing only shows this file:

$3.png

Am I missing something in fio profile??� Here's a snippet:

[global]
rw=randread
ioengine=posixaio
iodepth=64
size=10g
direct=0
buffered=1
startdelay=5
ramp_time=5
runtime=20
time_based
disk_util=0
clat_percentiles=0
write_bw_log=4k.results
write_iops_log=4k.results
write_lat_log=4k.results
per_job_logs=0

#2 lore raw
Quoted 14 lines · Saeed Tea
Quoted 13 lines

I'm trying generate graphs with logs create by fio using fio2gnu and keep getting this error when generating graphs for iops or bandwidth:

1 files Selected with pattern '*_iops.log'
|-> 4k.results_iops.log

Running gnuplot Rendering "/usr/share/fio//math.gpm", line 25: no datablock named $1

"/usr/share/fio//graph2D.gpm", line 25: no datablock named $1

Quoted 7 lines
Quoted 7 lines

Rendering traces are available in the current directory

Checking the directory listing only shows this file:

$3.png

Am I missing something in fio profile?? Here's a snippet:

This happens because you have gnuplot 5 and it dropped support for the $1 way of passing arguments on the command line (see
http://stackoverflow.com/a/31815067/4513656 ). To get around this both the .gpm and and fio2gnuplot would have to be rewritten to use a different means of passing parameters in. I'm not sure any method beyond using environment variables would work for both old and new versions of gnuplot...

CC'ing the original author of fio2gnuplot for comment.

Signature · 1 line
Sitsofe | http://sucs.org/~sits/
#3 lore raw
Quoted 30 lines · Sitsofe Wheeler
Quoted 14 lines · Saeed Tea
Quoted 13 lines

I'm trying generate graphs with logs create by fio using fio2gnu and keep getting this error when generating graphs for iops or bandwidth:

1 files Selected with pattern '*_iops.log'
|-> 4k.results_iops.log

Running gnuplot Rendering "/usr/share/fio//math.gpm", line 25: no datablock named $1

"/usr/share/fio//graph2D.gpm", line 25: no datablock named $1

Quoted 7 lines
Quoted 7 lines

Rendering traces are available in the current directory

Checking the directory listing only shows this file:

$3.png

Am I missing something in fio profile?? Here's a snippet:

This happens because you have gnuplot 5 and it dropped support for the $1 way of passing arguments on the command line (see
http://stackoverflow.com/a/31815067/4513656 ). To get around this both the .gpm and and fio2gnuplot would have to be rewritten to use a different means of passing parameters in. I'm not sure any method beyond using environment variables would work for both old and new versions of gnuplot...

Quoted 1 line

CC'ing the original author of fio2gnuplot for comment.

Trying again but with a different email address for the original author.

Signature · 1 line
Sitsofe | http://sucs.org/~sits/
author
#4 lore raw
In reply to Sitsofe Wheeler

Thanks! I suspected it must've been something with gnuplot because it seems to work with Ubuntu 15.xx (running Gnuplot 4.xx) and breaks with Ubuntu 16.xxx (running Gnuplot 5.xx).

I tried contacting Erwan for an answer on a possible update but gotten no response.

Quoted 32 lines · Sitsofe Wheeler
Quoted 15 lines · Saeed Tea
Quoted 13 lines

I'm trying generate graphs with logs create by fio using fio2gnu and keep getting this error when generating graphs for iops or bandwidth:

1 files Selected with pattern '*_iops.log'
|-> 4k.results_iops.log

Running gnuplot Rendering "/usr/share/fio//math.gpm", line 25: no datablock named $1

"/usr/share/fio//graph2D.gpm", line 25: no datablock named $1

Quoted 7 lines
Quoted 7 lines

Rendering traces are available in the current directory

Checking the directory listing only shows this file:

$3.png

Am I missing something in fio profile?? Here's a snippet:

This happens because you have gnuplot 5 and it dropped support for the $1 way of passing arguments on the command line (see
http://stackoverflow.com/a/31815067/4513656 ). To get around this both the .gpm and and fio2gnuplot would have to be rewritten to use a different means of passing parameters in. I'm not sure any method beyond using environment variables would work for both old and new versions of gnuplot...

CC'ing the original author of fio2gnuplot for comment.

#5 lore raw
Quoted 6 lines · Saeed

Thanks! I suspected it must've been something with gnuplot because it seems to work with Ubuntu 15.xx (running Gnuplot 4.xx) and breaks with Ubuntu 16.xxx (running Gnuplot 5.xx).

I tried contacting Erwan for an answer on a possible update but gotten no response.

I've posted some changes that seem to get things going under gnuplot 5 for me. Could you check to see if
https://github.com/axboe/fio/pull/208 lets things work for you on Ubuntu 16.04?

Signature · 1 line
Sitsofe | http://sucs.org/~sits/
author
#6 lore raw

I ran a couple of tests with your rev of fio2gnuplot and it seems to work fine with gnuplot 5.x on ubuntu 16.x - thanks~

Quoted 12 lines · Sitsofe Wheeler
Quoted 6 lines · Saeed

Thanks! I suspected it must've been something with gnuplot because it seems to work with Ubuntu 15.xx (running Gnuplot 4.xx) and breaks with Ubuntu 16.xxx (running Gnuplot 5.xx).

I tried contacting Erwan for an answer on a possible update but gotten no response.

I've posted some changes that seem to get things going under gnuplot 5 for me. Could you check to see if
https://github.com/axboe/fio/pull/208 lets things work for you on Ubuntu 16.04?

#7 lore raw
Quoted 2 lines · Saeed

I ran a couple of tests with your rev of fio2gnuplot and it seems to work fine with gnuplot 5.x on ubuntu 16.x - thanks~

Thanks for following up. Since Jens merged this hopefully this will help others too (I notice there's an Arch Linux bug that sounds similar).

Signature · 1 line
Sitsofe | http://sucs.org/~sits/