summaryrefslogtreecommitdiffstats
path: root/plot-data/thread-count-sweep
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/thread-count-sweep
parent03128086d95d923b6d022c46fe2413751898e497 (diff)
downloaddissertation-4b3173bbe0ecb9cc5624c2762183f1b90fb134c7.tar.gz
Plot updates
Diffstat (limited to 'plot-data/thread-count-sweep')
-rw-r--r--plot-data/thread-count-sweep/1.txt8
-rw-r--r--plot-data/thread-count-sweep/2.txt8
-rw-r--r--plot-data/thread-count-sweep/32.txt8
-rw-r--r--plot-data/thread-count-sweep/4.txt8
-rw-r--r--plot-data/thread-count-sweep/8.txt8
-rw-r--r--plot-data/thread-count-sweep/Book1.gnumericbin0 -> 30678 bytes
-rw-r--r--plot-data/thread-count-sweep/ins-v-q.pdfbin0 -> 10632 bytes
-rw-r--r--plot-data/thread-count-sweep/max-query/100k.txt6
-rw-r--r--plot-data/thread-count-sweep/max-query/150k.txt6
-rw-r--r--plot-data/thread-count-sweep/max-query/60k.txt5
-rw-r--r--plot-data/thread-count-sweep/max-query/ins-v-thrd.pdfbin0 -> 13095 bytes
-rw-r--r--plot-data/thread-count-sweep/max-query/plot.plt36
-rw-r--r--plot-data/thread-count-sweep/plot.plt36
13 files changed, 129 insertions, 0 deletions
diff --git a/plot-data/thread-count-sweep/1.txt b/plot-data/thread-count-sweep/1.txt
new file mode 100644
index 0000000..9e9057a
--- /dev/null
+++ b/plot-data/thread-count-sweep/1.txt
@@ -0,0 +1,8 @@
+1 0.95 317834 59330
+1 0.99 1424802 89214
+1 0.993 1863382 93503
+1 0.995 2350785 100623
+1 0.998 3410141 501312
+1 0.9985 3638329 1786938
+1 0.999 3852579 3928613
+#1 1 4495488 159265915
diff --git a/plot-data/thread-count-sweep/2.txt b/plot-data/thread-count-sweep/2.txt
new file mode 100644
index 0000000..00d8026
--- /dev/null
+++ b/plot-data/thread-count-sweep/2.txt
@@ -0,0 +1,8 @@
+2 0.95 315503 56305
+2 0.99 1407217 61615
+2 0.993 1893321 62933
+2 0.995 2421159 67304
+2 0.998 3780981 111606
+2 0.9985 4127452 127952
+2 0.999 4800116 155931
+#2 1 5787127 441103
diff --git a/plot-data/thread-count-sweep/32.txt b/plot-data/thread-count-sweep/32.txt
new file mode 100644
index 0000000..e10c8e0
--- /dev/null
+++ b/plot-data/thread-count-sweep/32.txt
@@ -0,0 +1,8 @@
+32 0.95 315053 65094
+32 0.99 1412394 68735
+32 0.993 1890763 73380
+32 0.995 2460260 79288
+32 0.998 4066599 112762
+32 0.9985 4308496 124834
+32 0.999 4723617 146155
+#32 1 5680599 316998
diff --git a/plot-data/thread-count-sweep/4.txt b/plot-data/thread-count-sweep/4.txt
new file mode 100644
index 0000000..023ede6
--- /dev/null
+++ b/plot-data/thread-count-sweep/4.txt
@@ -0,0 +1,8 @@
+4 0.95 315421 61277
+4 0.99 1402509 51673
+4 0.993 1879125 60515
+4 0.995 2395828 64478
+4 0.998 3889418 98636
+4 0.9985 3989018 120960
+4 0.999 4510340 146849
+#4 1 5770334 277209
diff --git a/plot-data/thread-count-sweep/8.txt b/plot-data/thread-count-sweep/8.txt
new file mode 100644
index 0000000..be2a46b
--- /dev/null
+++ b/plot-data/thread-count-sweep/8.txt
@@ -0,0 +1,8 @@
+8 0.95 315215 61213
+8 0.99 1414735 61069
+8 0.993 1876813 69578
+8 0.995 2379436 70679
+8 0.998 3844475 114012
+8 0.9985 4107964 128021
+8 0.999 4519917 165110
+#8 1 5540375 327673
diff --git a/plot-data/thread-count-sweep/Book1.gnumeric b/plot-data/thread-count-sweep/Book1.gnumeric
new file mode 100644
index 0000000..b0897d3
--- /dev/null
+++ b/plot-data/thread-count-sweep/Book1.gnumeric
Binary files differ
diff --git a/plot-data/thread-count-sweep/ins-v-q.pdf b/plot-data/thread-count-sweep/ins-v-q.pdf
new file mode 100644
index 0000000..5c430f3
--- /dev/null
+++ b/plot-data/thread-count-sweep/ins-v-q.pdf
Binary files differ
diff --git a/plot-data/thread-count-sweep/max-query/100k.txt b/plot-data/thread-count-sweep/max-query/100k.txt
new file mode 100644
index 0000000..5b340d8
--- /dev/null
+++ b/plot-data/thread-count-sweep/max-query/100k.txt
@@ -0,0 +1,6 @@
+1 2350785
+2 3780981
+4 3889418
+8 3844475
+32 4066599
+
diff --git a/plot-data/thread-count-sweep/max-query/150k.txt b/plot-data/thread-count-sweep/max-query/150k.txt
new file mode 100644
index 0000000..bae8307
--- /dev/null
+++ b/plot-data/thread-count-sweep/max-query/150k.txt
@@ -0,0 +1,6 @@
+1 2350785
+2 4800116
+4 4510340
+8 4519917
+32 4723617
+
diff --git a/plot-data/thread-count-sweep/max-query/60k.txt b/plot-data/thread-count-sweep/max-query/60k.txt
new file mode 100644
index 0000000..fb9bffa
--- /dev/null
+++ b/plot-data/thread-count-sweep/max-query/60k.txt
@@ -0,0 +1,5 @@
+1 317834
+2 1407217
+4 1879125
+8 1414735
+32 1412394
diff --git a/plot-data/thread-count-sweep/max-query/ins-v-thrd.pdf b/plot-data/thread-count-sweep/max-query/ins-v-thrd.pdf
new file mode 100644
index 0000000..f76236a
--- /dev/null
+++ b/plot-data/thread-count-sweep/max-query/ins-v-thrd.pdf
Binary files differ
diff --git a/plot-data/thread-count-sweep/max-query/plot.plt b/plot-data/thread-count-sweep/max-query/plot.plt
new file mode 100644
index 0000000..e8a9c8d
--- /dev/null
+++ b/plot-data/thread-count-sweep/max-query/plot.plt
@@ -0,0 +1,36 @@
+set terminal pdfcairo
+
+set format y "%1.1t{/Symbol \264}10^{%L}"
+#set format x "%1.0t{/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 "Background Thread Count (nd)"
+set ylabel "Insertion Throughput (ins/s)"
+
+#set title "Insertion Throughput vs. Query Latency (ISAM Point Lookup)"
+
+set output "ins-v-thrd.pdf"
+
+#set xtics 1e6
+#set ytics 1e5
+
+#set xtics 1e6
+
+set logscale x 2
+
+#set yrange [6.0e4:7.5e4]
+set yrange[0:6e6]
+
+plot "60k.txt" using 1:2 with lp ls 1 title "60 μs", \
+ "100k.txt" using 1:2 with lp ls 2 title "100 μs", \
+ "150k.txt" using 1:2 with lp ls 3 title "150 μs", \
diff --git a/plot-data/thread-count-sweep/plot.plt b/plot-data/thread-count-sweep/plot.plt
new file mode 100644
index 0000000..0bf369f
--- /dev/null
+++ b/plot-data/thread-count-sweep/plot.plt
@@ -0,0 +1,36 @@
+set terminal pdfcairo
+
+set format y "%1.1t{/Symbol \264}10^{%L}"
+set format x "%1.0t{/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 xtics 1e6
+
+#set yrange [6.0e4:7.5e4]
+set yrange[0:5.5e5]
+
+plot "1.txt" using 3:4:2 with lp ls 6 title "1 Thread", \
+ "2.txt" using 3:4:2 with lp ls 2 title "2 Threads", \
+ "4.txt" using 3:4:2 with lp ls 3 title "4 Threads", \
+ "8.txt" using 3:4:2 with lp ls 4 title "8 Threads", \
+ "32.txt" using 3:4:2 with lp ls 5 title "32 Threads", \