summaryrefslogtreecommitdiffstats
path: root/plot-data/parm-sweeps/knn/plot.plt
diff options
context:
space:
mode:
Diffstat (limited to 'plot-data/parm-sweeps/knn/plot.plt')
-rw-r--r--plot-data/parm-sweeps/knn/plot.plt45
1 files changed, 45 insertions, 0 deletions
diff --git a/plot-data/parm-sweeps/knn/plot.plt b/plot-data/parm-sweeps/knn/plot.plt
new file mode 100644
index 0000000..801b9a1
--- /dev/null
+++ b/plot-data/parm-sweeps/knn/plot.plt
@@ -0,0 +1,45 @@
+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 left 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 (ISAM Point Lookup)"
+
+set output "ins-v-q.pdf"
+
+#set xtics 1e6
+#set ytics 1e5
+
+#set yrange [6.0e4:7.5e4]
+#set yrange[6.0e2:2.0e4]
+
+set yrange[0:10e8]
+
+set ytics 2e8
+set xtics 3e4
+
+
+plot "knn_tiering.txt" using 7:8:3 with lp ls 2 title "Tiering", \
+ "knn_leveling.txt" using 7:8:3 with lp ls 3 title "Leveling", \
+ "knn_bsm.txt" using 7:8:3 with lp ls 4 title "BSM", \
+ # "knn_tiering.txt" using 7:8:3 with labels offset 0,.5 font "Sans,12" notitle,\
+ # "knn_leveling.txt" using 7:8:3 with labels offset 0,.5 font "Sans,12" notitle,\
+ # "knn_bsm.txt" using 7:8:3 with labels offset 0,.5 font "Sans,12" notitle
+
+ # "bsm.txt" using 2:(1/$3)*1e9:3 with line ls 4 title "Bentley-Saxe",\
+# "bsm.txt" using 2:(1/$3)*1e9:3 with labels offset 0,.5 font "Sans,5" notitle
+