blob: e441be3aa2d8b86882e3d8c9d4d64bb6d6e587f8 [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,300 font "Times-Roman, 12"
set output "latency.svg"
set yrange [0:50]
#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 "key size"
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 style increment user
set xtics ("4B" 0, "1K" 1, "4K" 2, "16K" 3, "64K" 4, "256K" 5, "1MB" 6)
#set logscale y
#set arrow from 6,40 to 6,30 nohead
#set arrow from 4.8,45 to 5.1,45 nohead linestyle 1 lw 7
set arrow from 4.8,45 to 5.1,45 lw 2
set label "124" at 4.4,45
plot "ramcloud.dat" using ($0):($2):(0.2) title "RAMCloud/read/C" with boxes fill solid 0.4 axes x1y1,\
"ramcloud.dat" using ($0+0.2):($3):(0.2) title "RAMCloud/read/Java" with boxes fill solid 0.4 axes x1y1,\
"crail.dat" using ($0+0.4):($3):(0.2) title "Crail (lookup & read)" with boxes fill solid 0.4 axes x1y1,\
"crail.dat" using ($0+0.4):($2):(0.13) title "Crail (lookup only)" with boxes fill solid 1 axes x1y1