From: Michael Vrable Date: Fri, 11 Mar 2011 19:29:59 +0000 (-0800) Subject: Updates to scripts for a mixedbench microbenchmarking run X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=c2dd6d8db81e94e1448f2cd4ea405d7c4cbd25c9;p=bluesky.git Updates to scripts for a mixedbench microbenchmarking run --- diff --git a/microbench/parse-results.py b/microbench/parse-results.py index 2cae623..cfc826d 100755 --- a/microbench/parse-results.py +++ b/microbench/parse-results.py @@ -56,7 +56,7 @@ def extract(data, params={}, ty='read', index=0): data = [] if __name__ == '__main__': - dirname = '20110228' + dirname = '20110310' for f in os.listdir(dirname): if f.endswith('.settings'): data.append(load_results(dirname + '/' + f[:-len('.settings')])) diff --git a/microbench/run2.sh b/microbench/run2.sh index cd17e67..75b61de 100755 --- a/microbench/run2.sh +++ b/microbench/run2.sh @@ -11,6 +11,7 @@ ops_list="1000 500 200 100 50 20 10" run_one() { PREFIX=$1 + BLUESKY_RUN_NAME=$PREFIX $HOME/bin/s3-cleanup.py mvrable-bluesky $HOME/bin/s3-cleanup.py mvrable-bluesky-west run_cmd $PROXY cleanup-proxy @@ -21,9 +22,10 @@ run_one() { for BENCH_OPS in $ops_list; do sleep 10 + BLUESKY_RUN_NAME=$PREFIX-$BENCH_OPS echo "SETTINGS:" $(get_params) - get_params >$PREFIX-$BENCH_OPS.settings - (date; run_cmd $BENCHER run-benchmark) | tee $PREFIX-$BENCH_OPS.results + get_params >$BLUESKY_RUN_NAME.settings + (date; run_cmd $BENCHER run-benchmark) | tee $BLUESKY_RUN_NAME.results done run_cmd $PROXY stop-proxy