From d7bb88418069c88c1fd454624530cc63e96ede1d Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Fri, 18 Mar 2011 02:24:08 -0700 Subject: [PATCH] Add four-way latency comparison (NFS and CIFS) --- results/20110317/read-latencies.data | 33 ++++++++++++++++++++++++++++ results/figures/specsfs.gnuplot | 15 +++++++++++++ results/parse-sfsres.py | 3 ++- 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 results/20110317/read-latencies.data diff --git a/results/20110317/read-latencies.data b/results/20110317/read-latencies.data new file mode 100644 index 0000000..57fde23 --- /dev/null +++ b/results/20110317/read-latencies.data @@ -0,0 +1,33 @@ +# Four-way comparison of read latencies +# +# First column is attempted ops per second, then: +# Native NFS +# Bluesky NFS +# Native Samba +# Bluesky CIFS +50 0.6 0.6 1.12 0.46 +100 2.41 7.59 2.01 7.3 +150 2.91 6.26 2.53 7.33 +200 3.23 8.41 2.96 10.09 +250 4.4 14.58 3.54 13.12 +300 4.28 13.14 3.55 11.38 +350 4.89 12.05 5.39 13.22 +400 6.27 13.81 4.7 14.88 +450 8.11 15.96 4.55 14.47 +500 10.22 21.02 5.32 16.12 +550 12.07 22.01 6.73 18.46 +600 13.39 25.23 7.89 17.12 +650 18.83 27.13 9.22 20.57 +700 18.22 33.35 11.29 24.76 +750 18.31 34.67 10.85 25.48 +800 19.03 37.45 11.14 +850 20.26 37.22 13.21 +900 24.35 41.63 10.58 +950 24.05 45.03 11.74 +1000 22.29 49.88 16.19 +1050 27.05 51.77 +1100 24.07 59.15 +1150 24.67 57.78 +1200 26.07 60.72 +1250 28.53 67.99 + diff --git a/results/figures/specsfs.gnuplot b/results/figures/specsfs.gnuplot index debc5d3..223c52f 100644 --- a/results/figures/specsfs.gnuplot +++ b/results/figures/specsfs.gnuplot @@ -76,3 +76,18 @@ set output "spec-cifs2.eps" set ylabel "Operation Latency (ms)" plot "../20110227a/sfssum.20110227-samba" using 1:3 with linespoints title "Samba", \ "../20110317/sfssum.20110317-cifs" using 1:3 with linespoints title "BlueSky" + +# Four-way comparison of read latencies among native/BlueSky with NFS/CIFS +XMAX=750 +set xrange [0:XMAX] +set x2range [0:XMAX*OPS_WSS_SCALE] +set xtics nomirror +set x2tics auto +set yrange [*:*] + +set output "spec-read-latencies.eps" +set ylabel "Operation Latency (ms)" +plot "../20110317/read-latencies.data" using 1:2 with linespoints title "Native NFS", \ + "../20110317/read-latencies.data" using 1:3 with linespoints title "BlueSky NFS", \ + "../20110317/read-latencies.data" using 1:4 with linespoints title "Samba (CIFS)", \ + "../20110317/read-latencies.data" using 1:5 with linespoints title "BlueSky CIFS" diff --git a/results/parse-sfsres.py b/results/parse-sfsres.py index 34c9a09..8d84ac1 100755 --- a/results/parse-sfsres.py +++ b/results/parse-sfsres.py @@ -28,6 +28,7 @@ def parse_date(datestr): return int(d.strip()) def find_stats(statsdata, timestamp): + if statsdata is None: return (0, [0] * len(STATSDATA)) for s in statsdata: if s[0] > timestamp: return (s[0], s[1:]) return (statsdata[-1][0], statsdata[-1][1:]) @@ -121,6 +122,6 @@ if __name__ == '__main__': input_stats = open(sys.argv[2]) statsdata = parse_stats(input_stats) except: - statsdata = [] + statsdata = None parse_sfsres(input_sfsres, statsdata) -- 2.20.1