projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More benchmark setup
[bluesky.git]
/
microbench
/
run-synread.sh
diff --git
a/microbench/run-synread.sh
b/microbench/run-synread.sh
index
3d3d6b6
..
f7fa67c
100755
(executable)
--- a/
microbench/run-synread.sh
+++ b/
microbench/run-synread.sh
@@
-6,15
+6,24
@@
BASEDIR=$(dirname $(which $0))
BLUESKY_TARGET=s3:mvrable-readbench-west
BLUESKY_EXTRA_OPTS="BLUESKY_OPT_NO_CRYPTO=1"
BLUESKY_TARGET=s3:mvrable-readbench-west
BLUESKY_EXTRA_OPTS="BLUESKY_OPT_NO_CRYPTO=1"
+sizes="1048576 131072 32768"
+
run_synbench() {
run_synbench() {
- BLUESKY_RUN_NAME=$(date +%Y%m%d)-$1
+ basename=$(date +%Y%m%d)-$1
+ BLUESKY_RUN_NAME=$basename
run_cmd $PROXY cleanup-proxy
run_cmd $PROXY run-proxy >$BLUESKY_RUN_NAME.proxy 2>&1 &
proxy_pid=$!
sleep 10
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
+ SYNREAD_SIZE=1048576
+ run_cmd $BENCHER warmup-synread
+ for s in sizes; do
+ SYNREAD_SIZE=$s
+ BLUESKY_RUN_NAME=$basename-$s
+ run_cmd $BENCHER run-synread
+ done
run_cmd $PROXY stop-proxy
echo "Waiting for proxy to stop..."
run_cmd $PROXY stop-proxy
echo "Waiting for proxy to stop..."
@@
-24,7
+33,7
@@
run_synbench() {
for BLUESKY_CACHE_SIZE in $((256 * 1024)) $((8192 * 1024 * 1024)); do
done
for BLUESKY_CACHE_SIZE in $((256 * 1024)) $((8192 * 1024 * 1024)); do
done
-run_s
pec
s3-west-noagg sfs_bluesky
+run_s
ynbench
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_CRYPTO=1"
run_spec s3-west-nocrypt sfs_bluesky