X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Frun-synread.sh;h=939bc128616882e3afeddcaef31c10cd3fbb9061;hb=edc8e63804c4c1065f3224e829b711c75330072d;hp=1840a979e9f0eeefa9fadaa024116f9faaa4c259;hpb=2454ce9e67f94f9ccd5e12954f91341ff1e8e83a;p=bluesky.git diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh index 1840a97..939bc12 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=2 + SYNREAD_PROCS=2 + BLUESKY_RUN_NAME=$basename-$(($s / 1024))-c4 + 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