From c2dd6d8db81e94e1448f2cd4ea405d7c4cbd25c9 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Fri, 11 Mar 2011 11:29:59 -0800 Subject: [PATCH] Updates to scripts for a mixedbench microbenchmarking run --- microbench/parse-results.py | 2 +- microbench/run2.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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 -- 2.20.1