X-Git-Url: http://git.vrable.net/?p=bluesky.git;a=blobdiff_plain;f=microbench%2Frun-synread.sh;h=d3d8cc929e6570b92dca44f2d00567d46eda91f8;hp=1840a979e9f0eeefa9fadaa024116f9faaa4c259;hb=52b6eb517aaf4497728afb27e025a1ab688c3d89;hpb=2454ce9e67f94f9ccd5e12954f91341ff1e8e83a diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh index 1840a97..d3d8cc9 100755 --- a/microbench/run-synread.sh +++ b/microbench/run-synread.sh @@ -20,13 +20,17 @@ run_synbench() { SYNREAD_SIZE=$((1 << 24)) run_cmd $BENCHER warmup-synread for s in $sizes; do - for o in 16 32 64; do - SYNREAD_SIZE=$s - SYNREAD_OUTSTANDING=8 - SYNREAD_PROCS=$(($o / 8)) - BLUESKY_RUN_NAME=$basename-$(($s / 1024))-c$o - run_cmd $BENCHER run-synread - done + SYNREAD_SIZE=$s + + SYNREAD_OUTSTANDING=1 + SYNREAD_PROCS=1 + BLUESKY_RUN_NAME=$basename-$(($s / 1024))-c1 + run_cmd $BENCHER run-synread + + SYNREAD_OUTSTANDING=8 + SYNREAD_PROCS=2 + BLUESKY_RUN_NAME=$basename-$(($s / 1024))-c16 + run_cmd $BENCHER run-synread done run_cmd $PROXY stop-proxy @@ -35,7 +39,10 @@ run_synbench() { } SYNREAD_DURATION=120 -for cache in 8 16 24 32; do +for cache in 0 4 12 20 28; do BLUESKY_CACHE_SIZE=$(($cache * 1024 * 1024)) + if [ $cache -eq 0 ]; then + BLUESKY_CACHE_SIZE=$((64 * 1024)) + fi run_synbench "syntest2-${cache}G" done