X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Frun-synread.sh;h=b247b5b40bd4c6586c6f81c21c51a236c71ec745;hb=81b37a6f03b86bc0d8d3a1eee50c9c0feb51b533;hp=1840a979e9f0eeefa9fadaa024116f9faaa4c259;hpb=2454ce9e67f94f9ccd5e12954f91341ff1e8e83a;p=bluesky.git diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh index 1840a97..b247b5b 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 8 12 16 20 24 28 32; do BLUESKY_CACHE_SIZE=$(($cache * 1024 * 1024)) - run_synbench "syntest2-${cache}G" + if [ $cache -eq 0 ]; then + BLUESKY_CACHE_SIZE=$((64 * 1024)) + fi + run_synbench "syntest-${cache}G" done