3 PARAMS="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 BENCHER=c09-44.sysnet.ucsd.edu
6 PROXY=c09-45.sysnet.ucsd.edu
12 if [ -n "${!p}" ]; then
21 echo "EXECUTE($host):" "$cmd" "$@" 1>&2
22 ssh $SSH_ARGS -l root $host /scratch/bluesky.git/microbench/setup/$cmd "$@" $(get_params)
25 BLUESKY_CACHE_SIZE=$((512 * 1024))
26 BENCH_FILESIZE=$((1024 * 1024))
28 BENCH_FILECOUNT=$((62))
36 sizes="128 512 1024 2048 8192"
37 ops_list="2000 1000 500 200 100 50 20 10"
42 $HOME/bin/s3-cleanup.py mvrable-bluesky
43 $HOME/bin/s3-cleanup.py mvrable-bluesky-west
44 run_cmd $PROXY cleanup-proxy
45 run_cmd $PROXY run-proxy >$PREFIX.proxy 2>&1 &
48 run_cmd $BENCHER prepare-benchmark
50 for BENCH_OPS in $ops_list; do
52 echo "SETTINGS:" $(get_params)
53 get_params >$PREFIX-$BENCH_OPS.settings
54 run_cmd $BENCHER run-benchmark | tee $PREFIX-$BENCH_OPS.results
57 run_cmd $PROXY stop-proxy
58 echo "Waiting for proxy to stop..."
62 #for size in 128 256 512 768 1024 1536 2048; do
63 # for filesize in 4 32 256 2048; do
65 for size in $sizes; do
66 BENCH_FILECOUNT=$(($size * 1024 / ($BENCH_FILESIZE / 1024)))
69 run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-32k
72 run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-1024k
76 BLUESKY_TARGET=s3:mvrable-bluesky-west
79 for BENCH_WRITERATIO in 0.0 1.0 0.5; do