diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2025-06-25 16:40:55 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2025-06-25 16:41:11 -0400 |
| commit | 4b3173bbe0ecb9cc5624c2762183f1b90fb134c7 (patch) | |
| tree | 3fb1e481b231ff7bc00393283cd0884507dfa2a6 /plot-data/parm-sweeps/knn | |
| parent | 03128086d95d923b6d022c46fe2413751898e497 (diff) | |
| download | dissertation-4b3173bbe0ecb9cc5624c2762183f1b90fb134c7.tar.gz | |
Plot updates
Diffstat (limited to 'plot-data/parm-sweeps/knn')
| -rw-r--r-- | plot-data/parm-sweeps/knn/200m_tput.txt | 6 | ||||
| -rw-r--r-- | plot-data/parm-sweeps/knn/ins-v-q.pdf | bin | 0 -> 10888 bytes | |||
| -rw-r--r-- | plot-data/parm-sweeps/knn/knn-tput.pdf | bin | 0 -> 17857 bytes | |||
| -rw-r--r-- | plot-data/parm-sweeps/knn/knn_bsm.txt | 4 | ||||
| -rw-r--r-- | plot-data/parm-sweeps/knn/knn_leveling.txt | 15 | ||||
| -rw-r--r-- | plot-data/parm-sweeps/knn/knn_tiering.txt | 15 | ||||
| -rw-r--r-- | plot-data/parm-sweeps/knn/plot.plt | 45 | ||||
| -rw-r--r-- | plot-data/parm-sweeps/knn/tput.plt | 20 |
8 files changed, 105 insertions, 0 deletions
diff --git a/plot-data/parm-sweeps/knn/200m_tput.txt b/plot-data/parm-sweeps/knn/200m_tput.txt new file mode 100644 index 0000000..10906d9 --- /dev/null +++ b/plot-data/parm-sweeps/knn/200m_tput.txt @@ -0,0 +1,6 @@ +"Tier 2" 33423 +"Tier 8" 57548 +"Level 2" 26833 +"Level 8" 12314 +"BSM 2" 28565 +"BSM 8" 579 diff --git a/plot-data/parm-sweeps/knn/ins-v-q.pdf b/plot-data/parm-sweeps/knn/ins-v-q.pdf Binary files differnew file mode 100644 index 0000000..4ac4040 --- /dev/null +++ b/plot-data/parm-sweeps/knn/ins-v-q.pdf diff --git a/plot-data/parm-sweeps/knn/knn-tput.pdf b/plot-data/parm-sweeps/knn/knn-tput.pdf Binary files differnew file mode 100644 index 0000000..481f59d --- /dev/null +++ b/plot-data/parm-sweeps/knn/knn-tput.pdf diff --git a/plot-data/parm-sweeps/knn/knn_bsm.txt b/plot-data/parm-sweeps/knn/knn_bsm.txt new file mode 100644 index 0000000..42a035e --- /dev/null +++ b/plot-data/parm-sweeps/knn/knn_bsm.txt @@ -0,0 +1,4 @@ +8 2 2 0.000000 8 4 28565 629885888 +8 2 4 0.000000 3 2 6478 620800508 +8 2 8 0.000000 2 2 579 620245057 + diff --git a/plot-data/parm-sweeps/knn/knn_leveling.txt b/plot-data/parm-sweeps/knn/knn_leveling.txt new file mode 100644 index 0000000..400c151 --- /dev/null +++ b/plot-data/parm-sweeps/knn/knn_leveling.txt @@ -0,0 +1,15 @@ +# 8 1 2 0.000000 10 10 26833 662756342 +# 8 1 4 0.000000 5 5 15068 638886345 +# 8 1 6 0.000000 4 4 17679 636240174 +# 8 1 8 0.000000 4 4 15858 627233846 +# 8 1 16 0.000000 3 3 8638 627224409 +# 8 1 32 0.000000 2 2 5479 605860623 +#8 1 128 0.000000 2 2 10613 616559671 + +8 1 2 0.000000 10 10 24106 660225545 +8 1 4 0.000000 5 5 17525 636343486 +#8 1 6 0.000000 4 4 14243 629962178 +8 1 8 0.000000 4 4 12314 624676278 +8 1 16 0.000000 3 3 9941 625538661 +8 1 32 0.000000 2 2 4173 604118116 +#8 1 128 0.000000 2 2 2413 618255151 diff --git a/plot-data/parm-sweeps/knn/knn_tiering.txt b/plot-data/parm-sweeps/knn/knn_tiering.txt new file mode 100644 index 0000000..0c3aaef --- /dev/null +++ b/plot-data/parm-sweeps/knn/knn_tiering.txt @@ -0,0 +1,15 @@ +# 8 0 2 0.000000 6 12 33423 676172274 +# 8 0 4 0.000000 4 11 45209 648037882 +# 8 0 6 0.000000 3 10 55723 659908442 +# 8 0 8 0.000000 3 13 63181 656409908 +# 8 0 16 0.000000 2 20 104230 703917834 +# 8 0 32 0.000000 2 32 113793 753715628 +# 8 0 128 0.000000 1 125 222868 1156406197 + +8 0 2 0.000000 9 15 27178 683917945 +8 0 4 0.000000 5 13 43453 672383534 +#8 0 6 0.000000 4 15 59916 680799576 +8 0 8 0.000000 4 20 57548 677280345 +8 0 16 0.000000 3 25 83081 717241837 +8 0 32 0.000000 2 39 134393 788926998 +#8 0 128 0.000000 2 111 123202 945047617 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 + diff --git a/plot-data/parm-sweeps/knn/tput.plt b/plot-data/parm-sweeps/knn/tput.plt new file mode 100644 index 0000000..5725291 --- /dev/null +++ b/plot-data/parm-sweeps/knn/tput.plt @@ -0,0 +1,20 @@ +set terminal pdfcairo + +set style data histogram +set style histogram cluster gap 1 +set style fill pattern 6 border -1 + +set nokey + +set output "knn-tput.pdf" + +unset mytics +set xtics out nomirror +set ytics out nomirror + +set xlabel "Configuration (Policy + Scale Factor)" +set ylabel "Insertion Throughput\n(ins/s)" + +#set yrange [0:5e6] + +plot '200m_tput.txt' using 2:xtic(1) |