X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Frun-synread.sh;h=22ad85347fd647e60d6651b87896d8fe4680694f;hb=0623ad8d40d5459b6168b23bd2c7444913b365fd;hp=a6e5181e25ae392977e6b672d9da75ae2a32ace0;hpb=b54d93195121656087794dfd748768cdfd180aed;p=bluesky.git diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh index a6e5181..22ad853 100755 --- a/microbench/run-synread.sh +++ b/microbench/run-synread.sh @@ -6,8 +6,7 @@ BASEDIR=$(dirname $(which $0)) BLUESKY_TARGET=s3:mvrable-readbench-west BLUESKY_EXTRA_OPTS="BLUESKY_OPT_NO_CRYPTO=1" -sizes="1048576" -#sizes="1048576 131072 32768" +sizes="1048576 131072 32768" run_synbench() { basename=$(date +%Y%m%d)-$1 @@ -18,10 +17,12 @@ run_synbench() { proxy_pid=$! sleep 10 - SYNREAD_SIZE=1048576 + 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 done @@ -31,9 +32,7 @@ run_synbench() { wait $proxy_pid } -for BLUESKY_CACHE_SIZE in $((256 * 1024)) $((8192 * 1024 * 1024)); do - echo +SYNREAD_DURATION=60 +for BLUESKY_CACHE_SIZE in $((256 * 1024)) $((8 * 1024 * 1024)); do + run_synbench "syntest-$((BLUESKY_CACHE_SIZE / 1024))" done - -BLUESKY_CACHE_SIZE=$((256 * 1024)) -run_synbench syntest