fio2gnuplot: Managing temporary files in a better way If gnuplot success at rendering, let's delete all temporary files. If gnuplot fails at rendering, let's keep all temporary files. If user don't want to run gnuplot, let's keep temporary files. If user ask to keep the temporary files (option -k), let's always keep them.
fio2gnplot: Print specific message if cmdline parsing fails If the cmdline isn't consistent regarding the getopt, let's print a specific message to inform user about this situation instead of printing the help. Showing the help without any specific message was very confusing.
fio2gnuplot: Fixing plotting issues on shorten files fio2gnuplot was mixing files when some got shorten. The position inside the array was used to remember what file was read leading to mistakes once some values got ignored. As a fix, we shall count the index for every single line we read and add to the time & perf we keep. While writing data to the temporary files, the extraction of the index insure we write to the proper file. Before this patch, we observed at the end of the traces some stupid artefacts like loops... was looking like a 4years old kid drawing... That's now fixed.
fio2gnuplot: Adding comparing 2D graphs It's a pretty common need to plot several files on the same graph to compare behavior during various benchs. If 2 or more files are selected by the pattern, new plots will be generated to compare the traces into a single graph. 3 kinds of graphs will be generated (raw, smooth and trends) like for the individual graphs. The output filename will be prefixed with "compare-" like : compare-vm1-1-4m-vdb-read-para.results_bw-2Draw.png compare-vm1-1-4m-vdb-read-para.results_bw-2Dsmooth.png compare-vm1-1-4m-vdb-read-para.results_bw-2Dtrend.png
fio2gnuplot: Using default install dir for gpm files That was pretty boring trying to read the gpm files from the same dir as the logs. Since gpm files are now installed in a specific dir at make install time, let's use them from here. Two locations will be considered at runtime : /usr/share/fio and /usr/local/share/fio