3 BASEDIR=$(dirname $(which $0))
4 . $BASEDIR/run-common.sh
6 BLUESKY_CACHE_SIZE=$((1024 * 1024))
8 sizes="128 512 1024 2048 8192"
9 ops_list="1000 500 200 100 50 20 10"
14 BLUESKY_RUN_NAME=$PREFIX
15 $HOME/bin/s3-cleanup.py mvrable-bluesky
16 $HOME/bin/s3-cleanup.py mvrable-bluesky-west
17 run_cmd $PROXY cleanup-proxy
18 run_cmd $PROXY run-proxy >$PREFIX.proxy 2>&1 &
21 run_cmd $BENCHER prepare-benchmark
23 for BENCH_OPS in $ops_list; do
25 BLUESKY_RUN_NAME=$PREFIX-$BENCH_OPS
26 echo "SETTINGS:" $(get_params)
27 get_params >$BLUESKY_RUN_NAME.settings
28 (date; run_cmd $BENCHER run-benchmark) | tee $BLUESKY_RUN_NAME.results
31 run_cmd $PROXY stop-proxy
32 echo "Waiting for proxy to stop..."
37 for size in $sizes; do
38 BENCH_FILECOUNT=$(($size * 1024 / ($BENCH_FILESIZE / 1024)))
42 run_one s3-$BENCH_WRITERATIO-${size}M-32k
46 run_one s3-$BENCH_WRITERATIO-${size}M-1024k
50 BLUESKY_TARGET=s3:mvrable-bluesky-west
53 for BENCH_WRITERATIO in 0.0 1.0 0.5; do