Fix scale on gnuplot graphs
authoravlasov-mos-de <avlasov@mirantis.com>
Fri, 12 Jun 2020 21:36:47 +0000 (16:36 -0500)
committerGitHub <noreply@github.com>
Fri, 12 Jun 2020 21:36:47 +0000 (16:36 -0500)
Since log files for latencies have values in nanoseconds in order to get microseconds we divide by 1000
and for milliseconds by 1000000

tools/fio_generate_plots

index 8872206e5b5b87d4e5b4b062669da54a21f94aee..e4558788150d2cadfa9706a24a16cb75c5994246 100755 (executable)
@@ -123,10 +123,10 @@ plot () {
 # plot <sub title> <file name tag> <y axis label> <y axis scale>
 #
 
-plot "I/O Latency" lat "Time (msec)" 1000
+plot "I/O Latency" lat "Time (msec)" 1000000
 plot "I/O Operations Per Second" iops "IOPS" 1
-plot "I/O Submission Latency" slat "Time (μsec)" 1
-plot "I/O Completion Latency" clat "Time (msec)" 1000
+plot "I/O Submission Latency" slat "Time (μsec)" 1000
+plot "I/O Completion Latency" clat "Time (msec)" 1000000
 plot "I/O Bandwidth" bw "Throughput (KB/s)" 1