summaryrefslogtreecommitdiffstats
path: root/plot-data/stall-shard-counts/normalized-run-real/plot-shards.plt
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/normalized-run-real/plot-shards.plt
parent03128086d95d923b6d022c46fe2413751898e497 (diff)
downloaddissertation-4b3173bbe0ecb9cc5624c2762183f1b90fb134c7.tar.gz
Plot updates
Diffstat (limited to 'plot-data/stall-shard-counts/normalized-run-real/plot-shards.plt')
-rw-r--r--plot-data/stall-shard-counts/normalized-run-real/plot-shards.plt48
1 files changed, 48 insertions, 0 deletions
diff --git a/plot-data/stall-shard-counts/normalized-run-real/plot-shards.plt b/plot-data/stall-shard-counts/normalized-run-real/plot-shards.plt
new file mode 100644
index 0000000..7b844d0
--- /dev/null
+++ b/plot-data/stall-shard-counts/normalized-run-real/plot-shards.plt
@@ -0,0 +1,48 @@
+set terminal pdfcairo
+set rmargin 4
+
+set output "stall_shard.pdf"
+
+#set format y "%1.0t{/Symbol \264}10^{%L}"
+#set format x "%1.0t{/Symbol \264}10^{%L}"
+
+set style line 1 lt 1 lw 3 dashtype 1 ps 2
+set style line 2 lt 2 lw 3 dashtype 2 ps 2
+set style line 3 lt 3 lw 3 dashtype 3 ps 2
+set style line 4 lt 4 lw 3 dashtype 4 ps 2
+set key right top vertical samplen 2 width .1
+
+set xtics out nomirror
+set ytics out nomirror
+unset mxtics
+unset mytics
+
+#set logscale x
+#set logscale y
+
+#set xrange [0:1e10]
+
+set xlabel "Shard Count at Buffer Flush"
+set ylabel "Normalized Frequency"
+#set title "Shard Count Distribution"
+
+stats "shard_stall_1.txt" using 1 nooutput
+S1 = STATS_sum
+
+stats "shard_stall_.999.txt" using 1 nooutput
+S999 = STATS_sum
+
+stats "shard_stall_.99.txt" using 1 nooutput
+S99 = STATS_sum
+
+stats "shard_stall_.9.txt" using 1 nooutput
+S9 = STATS_sum
+
+stats "shard_stall_tiering.txt" using 1 nooutput
+ST = STATS_sum
+
+plot "./shard_stall_1.txt" using 2:($1/S1) with lines ls 6 title "1", \
+ "./shard_stall_.999.txt" using 2:($1/S999) with lines ls 2 title ".999", \
+ "./shard_stall_.99.txt" using 2:($1/S99) with lines ls 3 title ".99", \
+ "./shard_stall_.9.txt" using 2:($1/S9) with lines ls 4 title ".9", \
+ "./shard_stall_tiering.txt" using 2:($1/ST) with lines ls 1 lc rgb "red" title "Tiering", \