X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Frun-synread.sh;h=b247b5b40bd4c6586c6f81c21c51a236c71ec745;hb=81b37a6f03b86bc0d8d3a1eee50c9c0feb51b533;hp=7a77e5effcf344273d4f91b2c57cd33747f01b56;hpb=7eed45ca91d96c8aab62eec6d232710939a98dce;p=bluesky.git diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh index 7a77e5e..b247b5b 100755 --- a/microbench/run-synread.sh +++ b/microbench/run-synread.sh @@ -21,10 +21,16 @@ run_synbench() { run_cmd $BENCHER warmup-synread for s in $sizes; do SYNREAD_SIZE=$s + SYNREAD_OUTSTANDING=1 SYNREAD_PROCS=1 - BLUESKY_RUN_NAME=$basename-$(($s / 1024)) + 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 @@ -32,8 +38,11 @@ run_synbench() { wait $proxy_pid } -SYNREAD_DURATION=60 -for cache in 8 16 24 32; do +SYNREAD_DURATION=120 +for cache in 0 4 8 12 16 20 24 28 32; do BLUESKY_CACHE_SIZE=$(($cache * 1024 * 1024)) + if [ $cache -eq 0 ]; then + BLUESKY_CACHE_SIZE=$((64 * 1024)) + fi run_synbench "syntest-${cache}G" done