blob: 0d6bdd1dfccf9942518f1c9c3b6ade3fbd907543 [file] [log] [blame]
#set terminal pdf monochrome size 3.15,2.5
#set term pdf truecolor size 4.15,2.0 font "Times-Roman, 12"
set term svg size 640,280 font "Times-Roman, 12"
set output "latency.svg"
set yrange [0:125]
#set ytics add ("1us" 1, "10us" 10, "100us" 100, "1ms" 1000, "10ms" 10000, "" 100000, "" 1000000, "10s" 10000000, "100s" 100000000, "" 1000000000, "" 1e10)
set ylabel "Latency [us]"
#set xlabel ""
set grid ytics mytic
set key left
set style line 1 lc rgb "#4dafa4" lw 4
set style line 2 lc rgb "#ff7f00" lw 4
set style line 3 lc rgb "#e41a1c" lw 4
set style line 4 lc rgb "#377eb8" lw 4
set style line 5 lc rgb "#377eb8" lw 4
set style line 6 lc rgb "#377eb8" lw 4
set style line 7 lc rgb "#377e00" lw 4
#set style line 2 lc rgb "#e41a1c" lw 4
#set style line 4 lc rgb "#4dafa4" lw 4
#set style line 5 lc rgb "#984ea3" lw 4
#set style line 6 lc rgb "#ff7f00" lw 4
#set style line 7 lc rgb "#ffff33" lw 4
#set title "NVMf latencies"
set style increment user
set xtics ("512B" 0, "4KB" 1)
#set logscale y
plot "spdk.dat" using ($0-0.2):($3):(0.2) title "SPDK - local" with boxes fill solid 0.4 axes x1y1,\
"spdk.dat" using ($0):($2):(0.2) title "SPDK - NVMf" with boxes fill solid 0.4 axes x1y1,\
"crail.dat" using ($0+0.2):($3):(0.2) title "Crail (lookup & read)" with boxes fill solid 0.4 axes x1y1,\
"crail.dat" using ($0+0.2):($2):(0.13) title "Crail (lookup only)" with boxes fill solid 1 axes x1y1