Update figure with new data and fix legend placement
[bluesky.git] / results / figures / specsfs.gnuplot
1 load "common.gnuplot"
2
3 OPS_WSS_SCALE=36/1024.0
4
5 set grid
6 set xlabel "Requested Operations per Second"
7 set x2label "Working Set Size (GB)"
8 set xtics nomirror
9 set x2tics auto
10
11 XMAX=1600
12 set xrange [0:XMAX]
13 set x2range [0:XMAX*OPS_WSS_SCALE]
14
15 set output "spec1a.eps"     # Base comparison
16 set key off
17 set ylabel "Achieved Operations per Second"
18 plot "../20110409/sfssum.20110410-native-hi16" with linespoints title "Local NFS", \
19      "../20110409/sfssum.20110409-s3-west-hi16" with linespoints title "BlueSky", \
20      "../20110409/sfssum.20110411-s3-west-hi16-crypt" with linespoints title "BlueSky (crypto)", \
21      "../20110409/sfssum.20110430-s3-west-hi16-nosegments" with linespoints title "BlueSky (noseg)", \
22      "../20110409/sfssum.20110430-s3-west-hi16-fullfetch" with linespoints title "BlueSky (norange)", \
23      "../20120109/sfssum.20120121-s3-west-hi16-lowbandwidth" with linespoints title "BlueSky (100 Mbps)"
24      #"../20110409/sfssum.20110430-s3-west-hi16-noreadagg" with linespoints title "BlueSky (noreadagg)"
25
26 #set output "spec2a.eps"
27 #plot "../20110409/sfssum.20110409-s3-west-hi16" with linespoints title "BlueSky", \
28 #     "../20110409/sfssum.20110411-s3-west-hi16-crypt" with linespoints title "BlueSky (+crypto)", \
29 #     "../20110409/sfssum.20110430-s3-west-hi16-nosegments" with linespoints title "BlueSky (noseg)", \
30 #     "../20110409/sfssum.20110430-s3-west-hi16-fullfetch" with linespoints title "BlueSky (norange)", \
31 #     "../20110409/sfssum.20110430-s3-west-hi16-noreadagg" with linespoints title "BlueSky (noreadagg)"
32
33 set output "spec1b.eps"
34 set ylabel "Operation Latency (ms)"
35 set yrange [0:100]
36 set key at graph -0.06, 0.97 top left
37 plot "../20110409/sfssum.20110410-native-hi16" using 1:3 with linespoints title "Local NFS", \
38      "../20110409/sfssum.20110409-s3-west-hi16" using 1:3 with linespoints title "BlueSky", \
39      "../20110409/sfssum.20110411-s3-west-hi16-crypt" using 1:3 with linespoints title "BlueSky (crypto)", \
40      "../20110409/sfssum.20110430-s3-west-hi16-nosegments" using 1:3 with linespoints title "BlueSky (noseg)", \
41      "../20110409/sfssum.20110430-s3-west-hi16-fullfetch" using 1:3 with linespoints title "BlueSky (norange)", \
42      "../20120109/sfssum.20120121-s3-west-hi16-lowbandwidth" using 1:3 with linespoints title "BlueSky (100 Mbps)"
43      #"../20110409/sfssum.20110430-s3-west-hi16-noreadagg" using 1:3 with linespoints title "BlueSky (noreadagg)"
44
45 # Comparison with low parallelism
46 XMAX=1250
47 set xrange [0:XMAX]
48 set x2range [0:XMAX*OPS_WSS_SCALE]
49 set yrange [*:*]
50
51 set key off
52 set output "spec2a.eps"
53 set ylabel "Achieved Operations per Second"
54 plot "../20110311/sfssum.20110312-native" with linespoints title "Local NFS", \
55      "../20110311/sfssum.20110311-s3-west" with linespoints title "BlueSky", \
56      "../20110311/sfssum.20110311-s3-west-4kfs" with linespoints title "BlueSky (4K)", \
57      "../20110311/sfssum.20110312-s3-west-noseg" with linespoints title "BlueSky (No Segments)", \
58      "../20110311/sfssum.20110312-s3-west-fullseg" with linespoints title "BlueSky (full fetches)", \
59      "../20110401/sfssum.20110401-azure" with linespoints title "Azure"
60
61 set key top right
62 set ylabel "Operation Latency (ms)"
63 set yrange [0:100]
64 set output "spec2b.eps"
65 plot "../20110311/sfssum.20110312-native" using 1:3 with linespoints title "Local NFS", \
66      "../20110311/sfssum.20110311-s3-west" using 1:3 with linespoints title "BlueSky", \
67      "../20110311/sfssum.20110311-s3-west-4kfs" using 1:3 with linespoints title "BlueSky (4K)", \
68      "../20110311/sfssum.20110312-s3-west-noseg" using 1:3 with linespoints title "BlueSky (noseg)", \
69      "../20110311/sfssum.20110312-s3-west-fullseg" using 1:3 with linespoints title "BlueSky (norange)", \
70      "../20110401/sfssum.20110401-azure" using 1:3 with linespoints title "BlueSky (Azure)"
71
72 # CIFS results
73 XMAX=1000
74 set xrange [0:XMAX]
75 set x2range [0:XMAX*OPS_WSS_SCALE]
76 set xtics nomirror
77 set x2tics auto
78 set yrange [*:*]
79 set output "spec-cifs1.eps"
80 set ylabel "Achieved Operations per Second"
81 plot "../20110227a/sfssum.20110227-samba" with linespoints title "Samba", \
82      "../20110317/sfssum.20110317-cifs" with linespoints title "BlueSky"
83
84 set output "spec-cifs2.eps"
85 set ylabel "Operation Latency (ms)"
86 plot "../20110227a/sfssum.20110227-samba" using 1:3 with linespoints title "Samba", \
87      "../20110317/sfssum.20110317-cifs" using 1:3 with linespoints title "BlueSky"
88
89 # Four-way comparison of read latencies among native/BlueSky with NFS/CIFS
90 XMAX=750
91 set xrange [0:XMAX]
92 set x2range [0:XMAX*OPS_WSS_SCALE]
93 set xtics nomirror
94 set x2tics auto
95 set yrange [*:*]
96 set key top left
97
98 set output "spec-read-latencies.eps"
99 set ylabel "Operation Latency (ms)"
100 plot "../20110317/read-latencies.data" using 1:2 with linespoints title "Native NFS", \
101      "../20110317/read-latencies.data" using 1:3 with linespoints title "BlueSky NFS", \
102      "../20110317/read-latencies.data" using 1:4 with linespoints title "Samba (CIFS)", \
103      "../20110317/read-latencies.data" using 1:5 with linespoints title "BlueSky CIFS"