X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Frun-synread.sh;h=939bc128616882e3afeddcaef31c10cd3fbb9061;hb=78f5b7a9c7840ce8b2dffb13fca676a18f8f9eb4;hp=c6ae3d36c67dffdd5fbc5e0fce951cb1f4cc435d;hpb=3a63041232b22ef44618ceb4d34122c17af69214;p=bluesky.git diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh index c6ae3d3..939bc12 100755 --- a/microbench/run-synread.sh +++ b/microbench/run-synread.sh @@ -21,9 +21,15 @@ run_synbench() { run_cmd $BENCHER warmup-synread for s in $sizes; do SYNREAD_SIZE=$s - SYNREAD_OUTSTANDING=8 - SYNREAD_PROCS=16 - BLUESKY_RUN_NAME=$basename-$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 @@ -32,9 +38,11 @@ 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 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 - -BLUESKY_CACHE_SIZE=$((256 * 1024))