X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Frun-synread.sh;fp=microbench%2Frun-synread.sh;h=3d3d6b6cbb92f2ffe7ee1b717e0f75ce64bde4ca;hb=dc76977049556a8268313318e3b90143fc9393a9;hp=0000000000000000000000000000000000000000;hpb=fe07e800dbdb79a871f7da1cfc185a982183bf65;p=bluesky.git diff --git a/microbench/run-synread.sh b/microbench/run-synread.sh new file mode 100755 index 0000000..3d3d6b6 --- /dev/null +++ b/microbench/run-synread.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +BASEDIR=$(dirname $(which $0)) +. $BASEDIR/run-common.sh + +BLUESKY_TARGET=s3:mvrable-readbench-west +BLUESKY_EXTRA_OPTS="BLUESKY_OPT_NO_CRYPTO=1" + +run_synbench() { + BLUESKY_RUN_NAME=$(date +%Y%m%d)-$1 + + run_cmd $PROXY cleanup-proxy + run_cmd $PROXY run-proxy >$BLUESKY_RUN_NAME.proxy 2>&1 & + proxy_pid=$! + sleep 10 + + run_cmd $BENCHER run-specsfs + + run_cmd $PROXY stop-proxy + echo "Waiting for proxy to stop..." + wait $proxy_pid +} + +for BLUESKY_CACHE_SIZE in $((256 * 1024)) $((8192 * 1024 * 1024)); do +done + +run_spec 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