Prepare for first real synthetic read benchmark
authorMichael Vrable <mvrable@cs.ucsd.edu>
Wed, 16 Mar 2011 22:01:58 +0000 (15:01 -0700)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Wed, 16 Mar 2011 22:01:58 +0000 (15:01 -0700)
microbench/run-synread.sh

index 22ad853..590147a 100755 (executable)
@@ -21,9 +21,9 @@ run_synbench() {
     run_cmd $BENCHER warmup-synread
     for s in $sizes; do
         SYNREAD_SIZE=$s
-        SYNREAD_OUTSTANDING=8
-        SYNREAD_PROCS=16
-        BLUESKY_RUN_NAME=$basename-$s
+        SYNREAD_OUTSTANDING=1
+        SYNREAD_PROCS=1
+        BLUESKY_RUN_NAME=$basename-$(($s / 1024))
         run_cmd $BENCHER run-synread
     done
 
@@ -33,6 +33,7 @@ run_synbench() {
 }
 
 SYNREAD_DURATION=60
-for BLUESKY_CACHE_SIZE in $((256 * 1024)) $((8 * 1024 * 1024)); do
-    run_synbench "syntest-$((BLUESKY_CACHE_SIZE / 1024))"
+for cache in 4 8 16 32; do
+    BLUESKY_CACHE_SIZE=$(($cache * 1024 * 1024))
+    run_synbench "syntest-${cache}G"
 done