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"
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 << 10))
28 BENCH_FILECOUNT=$((62))
35 sizes="128 512 1024 2048"
37 #for size in 128 256 512 768 1024 1536 2048; do
38 # for filesize in 4 32 256 2048; do
40 for size in $sizes; do
41 for filesize in 4 32; do
42 BENCH_BLOCKSIZE=$(($filesize * 1024))
43 BENCH_FILECOUNT=$(($size * 1024 / ($BENCH_FILESIZE / 1024)))
44 PREFIX=$BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-${filesize}k
46 $HOME/bin/s3-cleanup.py
48 run_cmd $PROXY cleanup-proxy
50 run_cmd $PROXY run-proxy >$PREFIX.proxy 2>&1 &
53 run_cmd $BENCHER prepare-benchmark
55 #for BENCH_OPS in 2000 1500 1000 800 600 400 200 100 80 40 20 10; do
56 for BENCH_OPS in 2000 1000 500 200 100 50 20 10; do
58 echo "SETTINGS:" $(get_params)
59 get_params >$PREFIX-$BENCH_OPS.settings
60 run_cmd $BENCHER run-benchmark | tee $PREFIX-$BENCH_OPS.results
63 run_cmd $PROXY stop-proxy
64 echo "Waiting for proxy to stop..."
70 for BENCH_WRITERATIO in 0.0 1.0 0.5; do
72 sizes="128 512 1024 2048"