summaryrefslogtreecommitdiffstats
path: root/plot-data/stall-shard-counts/normalized-run-4b/plot.plt
blob: d28b55a1b8375f9c04d1c6f1768638a6a48616d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
set terminal pdfcairo
set rmargin 4

set output "stall_insert.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"

set xtics 2e1
set ytics 1e1

plot "./1_insert_cdf.txt" using 2:1 with lines ls 6 title "1", \
     "./999_insert_cdf.txt" using 2:1 with lines ls 2 title ".999", \
     "./99_insert_cdf.txt" using 2:1 with lines ls 3 title ".99", \
     "./9_insert_cdf.txt" using 2:1 with lines ls 4 title ".9", \
     "./8_insert_cdf.txt" using 2:1 with lines ls 5 title ".8", \
     "./tiering_insert_cdf.txt" using 2:1 with lines ls 1 lc rgb "red" title "Tiering", \