-
Notifications
You must be signed in to change notification settings - Fork 2
/
tapir-max-throughput.gpi
43 lines (28 loc) · 1.03 KB
/
tapir-max-throughput.gpi
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
42
43
set size 1.5,1.5
set terminal postscript eps color solid "Helvetica" 48
set pointsize 3
set output "tapir-max-throughput.eps"
set key samplen 2
set xlabel "Number of KVs"
set xrange [0:45e6]
set xtics 10e6
set format x '%.s%c'
set format y '%.s%c'
set ylabel "Throughput (txn/sec)"
set style line 2 lt 2 lw 7
set style line 1 lt 1 lw 7
set arrow from 34e6,22e3 to 30.2e6,20.2e3 lw 5
set label "Page migration disabled" at 12.5e6,23.3e3
set label "(original)" at 1.5e6,17e3
#set label "(new)" at 23.5e6, 18e3
set label "(new)" at 5.8e6, 21.5e3
set label "(new)" at 10.9e6, 19.1e3
set label "(new)" at 20.3e6, 13.7e3
set label "(new)" at 38.2e6, 12e3
set label "(new)" at 20.5e6, 22e3
set label "(new)" at 38e6, 19e3
set arrow from 5e6,18e3 to 1e6,21.5e3 lw 5
data_migration = "< (awk '{ if ($5 == 1) print $1, $2 }' tapir-max-throughput.dat)"
data_no_migration = "< (awk '{ if ($5 == 0) print $1, $2 }' tapir-max-throughput.dat)"
plot data_migration u 1:2 w linespoints ls 1 t "",\
data_no_migration u 1:2 w linespoints ls 2 t ""