summaryrefslogtreecommitdiffstats
path: root/plot-data/parm-sweeps/knn-bs/plot.plt
blob: a4605c88609c0365d48e0e568dff4376a302ec6f (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
38
39
40
41
set terminal pdfcairo

set format y "%1.1t{/Symbol \264}10^{%L}"
set format x "%1.0t{/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 right bottom 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 (ISAM Point Lookup)"

set output "ins-v-q.pdf"

#set xtics 1e6
#set ytics 1e5

#set yrange [6.0e4:7.5e4]
#set yrange[6.0e2:2.0e4]
set yrange[0:8e8]
set ytics 2e8

plot "tiering2.txt"    using 8:9:2 with lp ls 2 title "Tiering 2", \
     "tiering8.txt"   using 8:9:2 with lp ls 3 title "Tiering 8", \
     "leveling2.txt"   using 8:9:2 with lp ls 4 title "Leveling 2", \
     "leveling8.txt"   using 8:9:2 with lp ls 5 title "Leveling 8", \
     "bsm2.txt"   using 8:9:2 with lp ls 6 title "BSM 2", \
     "bsm8.txt"   using 8:9:2 with lp ls 7 title "BSM 8", \
     # "500m_leveling.txt"   using 6:8:2 with labels offset 0,.5 font "Sans,5" notitle,\
     # "500m_tiering.txt"    using 4:7:2 with labels offset 0,.5 font "Sans,5" notitle,\
     # "500m_bsm.txt"    using 4:6:2 with labels offset 0,.5 font "Sans,5" notitle