From: Michael Vrable <mvrable@cs.ucsd.edu>
Date: Wed, 16 Mar 2011 22:01:58 +0000 (-0700)
Subject: Prepare for first real synthetic read benchmark
X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=7c11d73409f82bad72e38a1c908730821951f2bf;p=bluesky.git

Prepare for first real synthetic read benchmark
---

diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh
index 22ad853..590147a 100755
--- a/microbench/run-synread.sh
+++ b/microbench/run-synread.sh
@@ -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