summaryrefslogtreecommitdiffstats
path: root/plot-data/stall-shard-counts/knn-averages
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2025-06-25 16:40:55 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2025-06-25 16:41:11 -0400
commit4b3173bbe0ecb9cc5624c2762183f1b90fb134c7 (patch)
tree3fb1e481b231ff7bc00393283cd0884507dfa2a6 /plot-data/stall-shard-counts/knn-averages
parent03128086d95d923b6d022c46fe2413751898e497 (diff)
downloaddissertation-4b3173bbe0ecb9cc5624c2762183f1b90fb134c7.tar.gz
Plot updates
Diffstat (limited to 'plot-data/stall-shard-counts/knn-averages')
-rw-r--r--plot-data/stall-shard-counts/knn-averages/data-tiering.txt1
-rw-r--r--plot-data/stall-shard-counts/knn-averages/data.txt6
-rw-r--r--plot-data/stall-shard-counts/knn-averages/ins-v-q.pdfbin0 -> 9946 bytes
-rw-r--r--plot-data/stall-shard-counts/knn-averages/plot.plt43
4 files changed, 50 insertions, 0 deletions
diff --git a/plot-data/stall-shard-counts/knn-averages/data-tiering.txt b/plot-data/stall-shard-counts/knn-averages/data-tiering.txt
new file mode 100644
index 0000000..1d5e3d5
--- /dev/null
+++ b/plot-data/stall-shard-counts/knn-averages/data-tiering.txt
@@ -0,0 +1 @@
+32 1.000000 0 8 0 4 20 23149 471424916
diff --git a/plot-data/stall-shard-counts/knn-averages/data.txt b/plot-data/stall-shard-counts/knn-averages/data.txt
new file mode 100644
index 0000000..aa0f263
--- /dev/null
+++ b/plot-data/stall-shard-counts/knn-averages/data.txt
@@ -0,0 +1,6 @@
+32 1.000000 6 8 0 2 44 38227 636585819
+32 0.900000 6 8 0 3 13 17239 525186323
+32 0.800000 6 8 0 3 13 12006 509313851
+32 0.700000 6 8 0 3 13 8519 487249592
+32 0.600000 6 8 0 3 10 6997 473037021
+32 0.500000 6 8 0 3 7 5289 468944314
diff --git a/plot-data/stall-shard-counts/knn-averages/ins-v-q.pdf b/plot-data/stall-shard-counts/knn-averages/ins-v-q.pdf
new file mode 100644
index 0000000..e137156
--- /dev/null
+++ b/plot-data/stall-shard-counts/knn-averages/ins-v-q.pdf
Binary files differ
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
+