set grid
set title "Storage Used: Writes Running Concurrently with Cleaner"
+set xlabel "Cleaner Pass Number"
set ylabel "Cloud Storage Consumed (MB)"
set key top right
-set noxtics
set yrange [0:200]
set output "cleaner.eps"
-plot "../20110925/cleaner.data" using 0:(($1+$2+$5)/1024**2) with boxes fill solid 0.0 lt 1 title "Reclaimed", \
- "../20110925/cleaner.data" using 0:(($1+$2-$3+$5)/1024**2) with boxes fill solid 0.2 lt 1 title "Wasted", \
- "../20110925/cleaner.data" using 0:(($1)/1024**2) with boxes fill solid 0.4 lt 1 title "Rewritten", \
- "../20110925/cleaner.data" using 0:(($1-$5)/1024**2) with boxes fill solid 0.6 lt 1 title "Used/Unaltered"
+set xtics 1
+set xrange [0.5:14.5]
+set grid noxtics
+plot "../20110925/cleaner.data" using ($0+1):(($1+$2+$5)/1024**2) with boxes fill solid 0.0 lt 1 title "Reclaimed", \
+ "../20110925/cleaner.data" using ($0+1):(($1+$2-$3+$5)/1024**2) with boxes fill solid 0.2 lt 1 title "Wasted", \
+ "../20110925/cleaner.data" using ($0+1):(($1)/1024**2) with boxes fill solid 0.4 lt 1 title "Rewritten", \
+ "../20110925/cleaner.data" using ($0+1):(($1-$5)/1024**2) with boxes fill solid 0.6 lt 1 title "Used/Unaltered"
set title "Data Written by Cleaner"
set ylabel "Writes (MB)"
"../20110409/sfssum.20110409-s3-west-hi16" with linespoints title "BlueSky", \
"../20110409/sfssum.20110411-s3-west-hi16-crypt" with linespoints title "BlueSky (crypto)", \
"../20110409/sfssum.20110430-s3-west-hi16-nosegments" with linespoints title "BlueSky (noseg)", \
- "../20110409/sfssum.20110430-s3-west-hi16-fullfetch" with linespoints title "BlueSky (norange)"
+ "../20110409/sfssum.20110430-s3-west-hi16-fullfetch" with linespoints title "BlueSky (norange)", \
+ "../20120109/sfssum.20120109-s3-west-hi16-lowbandwidth" with linespoints title "BlueSky (100 Mbps)"
#"../20110409/sfssum.20110430-s3-west-hi16-noreadagg" with linespoints title "BlueSky (noreadagg)"
#set output "spec2a.eps"
# "../20110409/sfssum.20110430-s3-west-hi16-noreadagg" with linespoints title "BlueSky (noreadagg)"
set output "spec1b.eps"
-set key top left
set ylabel "Operation Latency (ms)"
set yrange [0:100]
set key top right
"../20110409/sfssum.20110409-s3-west-hi16" using 1:3 with linespoints title "BlueSky", \
"../20110409/sfssum.20110411-s3-west-hi16-crypt" using 1:3 with linespoints title "BlueSky (crypto)", \
"../20110409/sfssum.20110430-s3-west-hi16-nosegments" using 1:3 with linespoints title "BlueSky (noseg)", \
- "../20110409/sfssum.20110430-s3-west-hi16-fullfetch" using 1:3 with linespoints title "BlueSky (norange)"
+ "../20110409/sfssum.20110430-s3-west-hi16-fullfetch" using 1:3 with linespoints title "BlueSky (norange)", \
+ "../20120109/sfssum.20120109-s3-west-hi16-lowbandwidth" using 1:3 with linespoints title "BlueSky (100 Mbps)"
#"../20110409/sfssum.20110430-s3-west-hi16-noreadagg" using 1:3 with linespoints title "BlueSky (noreadagg)"
# Comparison with low parallelism
-# Limiting traffic rate to 1mbit to Amazon US-West data center (204.246.0.0/16)
+# Limiting outgoing traffic rate to 100 Mbps to Amazon US-West data center
+# (204.246.0.0/16)
tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 1000mbit
tc class add dev eth0 parent 1: classid 1:1 cbq rate 100mbit allot 1500 prio 5 bounded isolated
tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip dst 204.246.0.0/16 flowid 1:1
+# Limit both incoming traffic as well
+tc qdisc add dev eth0 handle ffff: ingress
+tc filter add dev eth0 parent ffff: protocol ip prio 16 u32 match ip src 204.246.0.0/16 police rate 100mbit burst 10k drop flowid :1
+
# List traffic classifier state
tc qdisc show dev eth0
tc class show dev eth0
tc filter show dev eth0
+tc filter show dev eth0 parent ffff:
# To clear
tc qdisc del dev eth0 root
+tc qdisc del dev eth0 ingress