3 PARAMS="BLUESKY_RUN_NAME BLUESKY_CACHE_SIZE BLUESKY_TARGET BENCH_DURATION BENCH_FILESIZE BENCH_FILECOUNT BENCH_WRITERATIO BENCH_THREADS BENCH_OPS BENCH_INTERVALS BENCH_DIRSIZE BENCH_BLOCKSIZE NFS_BLOCKSIZE"
5 BLUESKY_RUN_NAME=$(date +%Y%m%d)-$$
6 BENCHER=c09-44.sysnet.ucsd.edu
7 PROXY=c09-45.sysnet.ucsd.edu
9 SSH_ARGS="-i $HOME/.ssh/id_bluesky"
13 if [ -n "${!p}" ]; then
22 echo "EXECUTE($host):" "$cmd" "$@" 1>&2
23 ssh $SSH_ARGS -l root $host /scratch/bluesky.git/microbench/setup/$cmd "$@" $(get_params)
26 BLUESKY_CACHE_SIZE=$((8 * 1024 * 1024))
27 BENCH_FILESIZE=$((1024 * 1024))
29 BENCH_FILECOUNT=$((62))
37 sizes="128 512 1024 2048 8192"
38 ops_list="2000 1000 500 200 100 50 20 10"
43 $HOME/bin/s3-cleanup.py mvrable-bluesky
44 $HOME/bin/s3-cleanup.py mvrable-bluesky-west
45 run_cmd $PROXY cleanup-proxy
46 run_cmd $PROXY run-proxy >$PREFIX.proxy 2>&1 &
49 run_cmd $BENCHER prepare-benchmark
51 for BENCH_OPS in $ops_list; do
53 echo "SETTINGS:" $(get_params)
54 get_params >$PREFIX-$BENCH_OPS.settings
55 run_cmd $BENCHER run-benchmark | tee $PREFIX-$BENCH_OPS.results
58 run_cmd $PROXY stop-proxy
59 echo "Waiting for proxy to stop..."
63 #for size in 128 256 512 768 1024 1536 2048; do
64 # for filesize in 4 32 256 2048; do
66 for size in $sizes; do
67 BENCH_FILECOUNT=$(($size * 1024 / ($BENCH_FILESIZE / 1024)))
70 run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-32k
73 run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-1024k
77 BLUESKY_TARGET=s3:mvrable-bluesky-west
80 for BENCH_WRITERATIO in 0.0 1.0 0.5; do