X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Frun-synread.sh;h=1840a979e9f0eeefa9fadaa024116f9faaa4c259;hb=2454ce9e67f94f9ccd5e12954f91341ff1e8e83a;hp=c6ae3d36c67dffdd5fbc5e0fce951cb1f4cc435d;hpb=3a63041232b22ef44618ceb4d34122c17af69214;p=bluesky.git diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh index c6ae3d3..1840a97 100755 --- a/microbench/run-synread.sh +++ b/microbench/run-synread.sh @@ -20,11 +20,13 @@ run_synbench() { SYNREAD_SIZE=$((1 << 24)) run_cmd $BENCHER warmup-synread for s in $sizes; do - SYNREAD_SIZE=$s - SYNREAD_OUTSTANDING=8 - SYNREAD_PROCS=16 - BLUESKY_RUN_NAME=$basename-$s - run_cmd $BENCHER run-synread + 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 done run_cmd $PROXY stop-proxy @@ -32,9 +34,8 @@ run_synbench() { wait $proxy_pid } -SYNREAD_DURATION=60 -for BLUESKY_CACHE_SIZE in $((256 * 1024)) $((8192 * 1024 * 1024)); do - run_synbench "syntest-$((BLUESKY_CACHE_SIZE / 1024))" +SYNREAD_DURATION=120 +for cache in 8 16 24 32; do + BLUESKY_CACHE_SIZE=$(($cache * 1024 * 1024)) + run_synbench "syntest2-${cache}G" done - -BLUESKY_CACHE_SIZE=$((256 * 1024))