BASEDIR=$(dirname $(which $0))
. $BASEDIR/run-common.sh
+BLUESKY_CACHE_SIZE=$((1024 * 1024))
+
sizes="128 512 1024 2048 8192"
-ops_list="2000 1000 500 200 100 50 20 10"
+ops_list="1000 500 200 100 50 20 10"
run_one() {
PREFIX=$1
sleep 10
echo "SETTINGS:" $(get_params)
get_params >$PREFIX-$BENCH_OPS.settings
- run_cmd $BENCHER run-benchmark | tee $PREFIX-$BENCH_OPS.results
+ (date; run_cmd $BENCHER run-benchmark) | tee $PREFIX-$BENCH_OPS.results
done
run_cmd $PROXY stop-proxy
wait $proxy_pid
}
-#for size in 128 256 512 768 1024 1536 2048; do
-# for filesize in 4 32 256 2048; do
run_experiments() {
for size in $sizes; do
BENCH_FILECOUNT=$(($size * 1024 / ($BENCH_FILESIZE / 1024)))
BENCH_BLOCKSIZE=32768
+ NFS_BLOCKSIZE=32768
run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-32k
BENCH_BLOCKSIZE=0
+ NFS_BLOCKSIZE=1048576
run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-1024k
done
}