X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Frun-synread.sh;h=c6ae3d36c67dffdd5fbc5e0fce951cb1f4cc435d;hb=4ad919582a62923b80e9ac9ea3159938f628016e;hp=f7fa67c0b6a6ac4d18d499a9da900409bd559bb7;hpb=da2bab238f6e898bf9a751d52fddd5389934db32;p=bluesky.git diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh index f7fa67c..c6ae3d3 100755 --- a/microbench/run-synread.sh +++ b/microbench/run-synread.sh @@ -17,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 + 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 @@ -30,13 +32,9 @@ 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))" done -run_synbench s3-west-noagg sfs_bluesky - -BLUESKY_EXTRA_OPTS="BLUESKY_OPT_NO_CRYPTO=1" -run_spec s3-west-nocrypt sfs_bluesky - -BLUESKY_EXTRA_OPTS="BLUESKY_OPT_NO_GROUP_READS=1 BLUESKY_OPT_NO_CRYPTO=1" -run_spec s3-west-noagg-nocrypt sfs_bluesky +BLUESKY_CACHE_SIZE=$((256 * 1024))