run_spec() {
BLUESKY_RUN_NAME=$(date +%Y%m%d)-$1
+ SPEC_CONF=$2
- $HOME/bin/s3-cleanup.py mvrable-bluesky
- $HOME/bin/s3-cleanup.py mvrable-bluesky-west
+ #$HOME/bin/s3-cleanup.py mvrable-bluesky
+ #$HOME/bin/s3-cleanup.py mvrable-bluesky-west
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
+}
+
+# Test of using full segment fetches instead of range requests
+#BLUESKY_TARGET=s3:mvrable-bluesky-west
+#BLUESKY_OPT_FULL_SEGMENTS=1
+#run_spec s3-west-fullseg sfs_bluesky
+
+# Run a simulation of not using a log-structured system at all
+#BLUESKY_TARGET=s3:mvrable-bluesky-west
+#BLUESKY_EXTRA_OPTS="BLUESKY_OPT_FULL_SEGMENTS=1 BLUESKY_OPT_NO_AGGREGATION=1"
+#run_spec s3-west-noseg sfs_bluesky
+
+# Standard test with Azure instead of Amazon S3 for storage
+BLUESKY_TARGET=azure
+run_spec azure sfs_bluesky