From 4b3173bbe0ecb9cc5624c2762183f1b90fb134c7 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Wed, 25 Jun 2025 16:40:55 -0400 Subject: Plot updates --- plot-data/stall-shard-counts/plot-shards.plt | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 plot-data/stall-shard-counts/plot-shards.plt (limited to 'plot-data/stall-shard-counts/plot-shards.plt') diff --git a/plot-data/stall-shard-counts/plot-shards.plt b/plot-data/stall-shard-counts/plot-shards.plt new file mode 100644 index 0000000..b8edfda --- /dev/null +++ b/plot-data/stall-shard-counts/plot-shards.plt @@ -0,0 +1,35 @@ +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 "Frequency" +set title "Shard Count Distribution" + +stats "./stall_1_shard_clean.txt" using 1 nooutput +S1 = STATS_sum + +plot "./stall_1_shard_clean.txt" using 2:($1/S1) with lines ls 1 title "1", \ + "./stall_99_shard_clean.txt" using 2:1 with lines ls 2 title ".99", \ + "./stall_5_shard_clean.txt" using 2:1 with lines ls 3 title ".5", \ + "./stall_tiering_shard_clean.txt" using 2:1 with lines ls 4 title "Tiering", \ -- cgit v1.2.3