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/fixed-size-sweep/plot-ins-v-q.plt | 45 +++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 plot-data/fixed-size-sweep/plot-ins-v-q.plt (limited to 'plot-data/fixed-size-sweep/plot-ins-v-q.plt') diff --git a/plot-data/fixed-size-sweep/plot-ins-v-q.plt b/plot-data/fixed-size-sweep/plot-ins-v-q.plt new file mode 100644 index 0000000..bc964a1 --- /dev/null +++ b/plot-data/fixed-size-sweep/plot-ins-v-q.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 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 1e6 +# set ytics 1e5 + +# plot "standard-policies/tiering2.txt" using 2:3 with line ls 2 title "Tiering", \ +# "standard-policies/leveling2.txt" using 2:3 with line ls 3 title "Leveling", \ +# "standard-policies/tiering2.txt" using 2:3:1 with labels offset 0,.5 font "Sans,5" notitle, \ +# "standard-policies/leveling2.txt" using 2:3:1 with labels offset 0,.5 font "Sans,5" notitle + +set nokey +#set ytics 2e8 +set ytics 1e10 +plot "throughput.txt" using 3:4 with lp ls 2 title "Fixed Shard Count", \ +# "throughput.txt" using 3:4:1 with labels offset 0,.5 font "Sans,5" notitle + + +#set logscale x 2 +#set logscale y +#set yrange [0:1.3e6] +#set y2range [0:9e8] +#set y2tics out nomirror + +#plot "data.txt" using 3:4 with line ls 1 title "Fixed Size", \ -- cgit v1.2.3