From: Michael Vrable Date: Thu, 17 Mar 2011 00:00:37 +0000 (-0700) Subject: Prepare for re-run of synthetic test with more clients X-Git-Url: http://git.vrable.net/?p=bluesky.git;a=commitdiff_plain;h=2454ce9e67f94f9ccd5e12954f91341ff1e8e83a Prepare for re-run of synthetic test with more clients --- diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh index 7a77e5e..1840a97 100755 --- a/microbench/run-synread.sh +++ b/microbench/run-synread.sh @@ -20,11 +20,13 @@ run_synbench() { SYNREAD_SIZE=$((1 << 24)) run_cmd $BENCHER warmup-synread for s in $sizes; do - SYNREAD_SIZE=$s - SYNREAD_OUTSTANDING=1 - SYNREAD_PROCS=1 - BLUESKY_RUN_NAME=$basename-$(($s / 1024)) - run_cmd $BENCHER run-synread + for o in 16 32 64; do + SYNREAD_SIZE=$s + SYNREAD_OUTSTANDING=8 + SYNREAD_PROCS=$(($o / 8)) + BLUESKY_RUN_NAME=$basename-$(($s / 1024))-c$o + run_cmd $BENCHER run-synread + done done run_cmd $PROXY stop-proxy @@ -32,8 +34,8 @@ run_synbench() { wait $proxy_pid } -SYNREAD_DURATION=60 +SYNREAD_DURATION=120 for cache in 8 16 24 32; do BLUESKY_CACHE_SIZE=$(($cache * 1024 * 1024)) - run_synbench "syntest-${cache}G" + run_synbench "syntest2-${cache}G" done diff --git a/nfs3/parse-synread.py b/nfs3/parse-synread.py index 689ae56..10d452d 100755 --- a/nfs3/parse-synread.py +++ b/nfs3/parse-synread.py @@ -30,6 +30,7 @@ if __name__ == '__main__': print len(data), len(truncated) duration = float(end - start + 1) print duration - print "Ops per second:", len(truncated) / duration - print "Bandwidth (MB/s):", len(truncated) / duration * blocksize / 1024.0**2 - print "Average latency (ms):", sum(d[1] for d in truncated) / len(truncated) / 1000 + print "# ops/sec\tbandwidth (MB/s)\tLatency(ms)" + print "%s\t%s\t%s" % (len(truncated) / duration, + len(truncated) / duration * blocksize / 1024.0**2, + sum(d[1] for d in truncated) / len(truncated) / 1000)