Re-run synthetic writes with different parameter values
[bluesky.git] / microbench / run-synwrite.sh
index 1ca5f72..ce66b3e 100755 (executable)
@@ -3,15 +3,16 @@
 BASEDIR=$(dirname $(which $0))
 . $BASEDIR/run-common.sh
 
-BLUESKY_TARGET=s3:mvrable-readbench-west
+BLUESKY_TARGET=s3:mvrable-bluesky-west
 BLUESKY_EXTRA_OPTS="BLUESKY_OPT_NO_CRYPTO=1"
 
-rates="1 2 4 8 16 32 48 100000"
+rates="1 2 4 8 10 12 14 16 32"
 
 run_synbench() {
     basename=$(date +%Y%m%d)-$1
     BLUESKY_RUN_NAME=$basename
 
+    $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=$!
@@ -19,7 +20,7 @@ run_synbench() {
 
     for SYNWRITE_RATE in $rates; do
         run_cmd $BENCHER run-synwrite
-        sleep 60
+        sleep 30
     done
 
     run_cmd $PROXY stop-proxy
@@ -27,6 +28,7 @@ run_synbench() {
     wait $proxy_pid
 }
 
-for BLUESKY_CACHE_SIZE in $((512 * 1024)); do
-    run_synbench "write-$(($BLUESKY_CACHE_SIZE / 1024))M"
+#for BLUESKY_CACHE_SIZE in $((2048 * 1024)); do
+for BLUESKY_CACHE_SIZE in $((256 * 1024)); do
+    run_synbench "write100c-$(($BLUESKY_CACHE_SIZE / 1024))M"
 done