diff options
Diffstat (limited to 'plot-data/btree-tail-analysis/plot.plt')
| -rw-r--r-- | plot-data/btree-tail-analysis/plot.plt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/plot-data/btree-tail-analysis/plot.plt b/plot-data/btree-tail-analysis/plot.plt new file mode 100644 index 0000000..2ac3b31 --- /dev/null +++ b/plot-data/btree-tail-analysis/plot.plt @@ -0,0 +1,31 @@ +set terminal pdfcairo +set rmargin 4 + +set output "btree-latency-dist.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:1e5] + +set xlabel "Insertion Latency (ns) [logscale]" +set ylabel "Fraction of Inserts (nd) [logscale]" +#set title "Insertion Latency Distribution with Stalls" + +plot "btree_insert.cdf" using 2:1 with lines ls 1 lc rgb "red" title "Native Dynamic", \ + "../scale-factor/insert_4_leveling.cdf" using 2:1 with lines ls 2 title "Leveling", \ + "../scale-factor/insert_8_tiering.cdf" using 2:1 with lines ls 6 title "Tiering", \ |