From 90e67244d806248f0c2959ff1bba6adba8bb1715 Mon Sep 17 00:00:00 2001 From: avlasov-mos-de Date: Fri, 12 Jun 2020 16:36:47 -0500 Subject: [PATCH] Fix scale on gnuplot graphs 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/fio_generate_plots b/tools/fio_generate_plots index 8872206e..e4558788 100755 --- a/tools/fio_generate_plots +++ b/tools/fio_generate_plots @@ -123,10 +123,10 @@ plot () { # plot # -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 -- 2.25.1