projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Script for randomly writing files to generate work for a cleaner
[bluesky.git]
/
microbench
/
run-synread.sh
diff --git
a/microbench/run-synread.sh
b/microbench/run-synread.sh
index
a6e5181
..
d3d8cc9
100755
(executable)
--- 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"
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
run_synbench() {
basename=$(date +%Y%m%d)-$1
@@
-18,11
+17,19
@@
run_synbench() {
proxy_pid=$!
sleep 10
proxy_pid=$!
sleep 10
- SYNREAD_SIZE=
1048576
+ SYNREAD_SIZE=
$((1 << 24))
run_cmd $BENCHER warmup-synread
for s in $sizes; do
SYNREAD_SIZE=$s
run_cmd $BENCHER warmup-synread
for s in $sizes; do
SYNREAD_SIZE=$s
- 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=8
+ SYNREAD_PROCS=2
+ BLUESKY_RUN_NAME=$basename-$(($s / 1024))-c16
run_cmd $BENCHER run-synread
done
run_cmd $BENCHER run-synread
done
@@
-31,9
+38,11
@@
run_synbench() {
wait $proxy_pid
}
wait $proxy_pid
}
-for BLUESKY_CACHE_SIZE in $((256 * 1024)) $((8192 * 1024 * 1024)); do
- echo
+SYNREAD_DURATION=120
+for cache in 0 4 12 20 28; do
+ BLUESKY_CACHE_SIZE=$(($cache * 1024 * 1024))
+ if [ $cache -eq 0 ]; then
+ BLUESKY_CACHE_SIZE=$((64 * 1024))
+ fi
+ run_synbench "syntest2-${cache}G"
done
done
-
-BLUESKY_CACHE_SIZE=$((256 * 1024))
-run_synbench syntest