X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Frun2.sh;h=75b61de730ed95d7d0c42075d86f32fcb8a49828;hb=4929b3f0ef3411f863796379834387ee6bacbcf0;hp=7148f6c9315ee311b850b3d91ed95db344239527;hpb=31e56a56ba48da0a08832fda54a98a381e1d6df8;p=bluesky.git diff --git a/microbench/run2.sh b/microbench/run2.sh index 7148f6c..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 @@ -37,11 +39,11 @@ for size in $sizes; do BENCH_BLOCKSIZE=32768 NFS_BLOCKSIZE=32768 - run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-32k + run_one s3-$BENCH_WRITERATIO-${size}M-32k BENCH_BLOCKSIZE=0 NFS_BLOCKSIZE=1048576 - run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-1024k + run_one s3-$BENCH_WRITERATIO-${size}M-1024k done }