--- /dev/null
+#!/bin/bash
+
+BASEDIR=$(dirname $(which $0))
+. $BASEDIR/run-common.sh
+
+BLUESKY_TARGET=s3:mvrable-readbench-west
+BLUESKY_EXTRA_OPTS="BLUESKY_OPT_NO_CRYPTO=1"
+
+run_synbench() {
+ BLUESKY_RUN_NAME=$(date +%Y%m%d)-$1
+
+ run_cmd $PROXY cleanup-proxy
+ run_cmd $PROXY run-proxy >$BLUESKY_RUN_NAME.proxy 2>&1 &
+ proxy_pid=$!
+ sleep 10
+
+ run_cmd $BENCHER run-specsfs
+
+ run_cmd $PROXY stop-proxy
+ echo "Waiting for proxy to stop..."
+ wait $proxy_pid
+}
+
+for BLUESKY_CACHE_SIZE in $((256 * 1024)) $((8192 * 1024 * 1024)); do
+done
+
+run_spec s3-west-noagg sfs_bluesky
+
+BLUESKY_EXTRA_OPTS="BLUESKY_OPT_NO_CRYPTO=1"
+run_spec s3-west-nocrypt sfs_bluesky
+
+BLUESKY_EXTRA_OPTS="BLUESKY_OPT_NO_GROUP_READS=1 BLUESKY_OPT_NO_CRYPTO=1"
+run_spec s3-west-noagg-nocrypt sfs_bluesky
--- /dev/null
+#!/bin/bash
+#
+# Launch the synthetic read benchmark.
+
+SYNREAD_OUTSTANDING=32
+SYNREAD_PROCS=4
+SYNREAD_SIZE=$((1 << 20))
+SYNREAD_DURATION=30
+
+# Export any environment variables specified on the command line
+for e in "$@"; do
+ echo "$e" 1>&2
+ if echo "$e" | grep = >/dev/null; then
+ eval "$e"
+ export ${e%=*}
+ fi
+done
+
+mkdir /scratch/synread/$BLUESKY_RUN_NAME
+cd /scratch/synread/$BLUESKY_RUN_NAME
+for i in $(seq $SYNREAD_PROCS); do
+ /scratch/bluesky.git/nfs3/synreadbench /scratch/inodes.txt $SYNREAD_OUTSTANDING $SYNREAD_SIZE proc-$i.data &
+done
+
+sleep $SYNREAD_DURATION
+
+pkill -TERM synreadbench
}
main_loop = g_main_loop_new(NULL, FALSE);
- nfs_connect("niniel.sysnet.ucsd.edu");
+ nfs_connect("vrable2.sysnet.ucsd.edu");
g_main_loop_run(main_loop);