diff options
Diffstat (limited to 'plot-data/stall-shard-counts/knn-averages/plot.plt')
| -rw-r--r-- | plot-data/stall-shard-counts/knn-averages/plot.plt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/plot-data/stall-shard-counts/knn-averages/plot.plt b/plot-data/stall-shard-counts/knn-averages/plot.plt new file mode 100644 index 0000000..bdd2432 --- /dev/null +++ b/plot-data/stall-shard-counts/knn-averages/plot.plt @@ -0,0 +1,43 @@ +set terminal pdfcairo + +set format y "%1.1t{/Symbol \264}10^{%L}" +set format x "%1.1t{/Symbol \264}10^{%L}" + +set rmargin 4 + +set style line 1 lt 1 lw 3 dashtype 1 ps 1 +set style line 2 lt 2 lw 3 dashtype 2 ps 1 +set style line 3 lt 3 lw 3 dashtype 3 ps 1 +set style line 4 lt 4 lw 3 dashtype 4 ps 1 +set key center top horizontal samplen 2 maxcol 2 width .1 + +set xtics out nomirror +set ytics out nomirror + +set xlabel "Insertion Throughput (ins/sec)" +set ylabel "Query Latency (ns)" + +#set title "Insertion Throughput vs. Query Latency" + +set output "ins-v-q.pdf" + +set xtics 1e4 +set ytics 1e8 + +#set yrange [6.0e4:7.5e4] +set yrange[0:7e8] + +set key vertical left + +plot "data.txt" using 8:9 with lp ls 1 title "Insertion Stalling", \ + "data-tiering.txt" using 8:9 with points pt 3 ps 1 lc "red" title "Tiering" + + + +# "tiering.txt" using 7:8:3 with line ls 2 title "Tiering", \ +# "leveling.txt" using 7:8:3 with line ls 3 title "Leveling", \ +# "bsm.txt" using 7:8:3 with line ls 4 title "Bentley-Saxe",\ +# "leveling.txt" using 7:8:3 with labels offset 0,.5 font "Sans,5" notitle,\ +# "tiering.txt" using 7:8:3 with labels offset 0,.5 font "Sans,5" notitle, \ +# "bsm.txt" using 7:8:3 with labels offset 0,.5 font "Sans,5" notitle + |