projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare for microbench re-run with latest code
[bluesky.git]
/
microbench
/
run2.sh
diff --git
a/microbench/run2.sh
b/microbench/run2.sh
index
6090129
..
7148f6c
100755
(executable)
--- a/
microbench/run2.sh
+++ b/
microbench/run2.sh
@@
-3,8
+3,10
@@
BASEDIR=$(dirname $(which $0))
. $BASEDIR/run-common.sh
BASEDIR=$(dirname $(which $0))
. $BASEDIR/run-common.sh
+BLUESKY_CACHE_SIZE=$((1024 * 1024))
+
sizes="128 512 1024 2048 8192"
sizes="128 512 1024 2048 8192"
-ops_list="
2000
1000 500 200 100 50 20 10"
+ops_list="1000 500 200 100 50 20 10"
run_one() {
PREFIX=$1
run_one() {
PREFIX=$1
@@
-21,7
+23,7
@@
run_one() {
sleep 10
echo "SETTINGS:" $(get_params)
get_params >$PREFIX-$BENCH_OPS.settings
sleep 10
echo "SETTINGS:" $(get_params)
get_params >$PREFIX-$BENCH_OPS.settings
-
run_cmd $BENCHER run-benchmark
| tee $PREFIX-$BENCH_OPS.results
+
(date; run_cmd $BENCHER run-benchmark)
| tee $PREFIX-$BENCH_OPS.results
done
run_cmd $PROXY stop-proxy
done
run_cmd $PROXY stop-proxy
@@
-29,16
+31,16
@@
run_one() {
wait $proxy_pid
}
wait $proxy_pid
}
-#for size in 128 256 512 768 1024 1536 2048; do
-# for filesize in 4 32 256 2048; do
run_experiments() {
for size in $sizes; do
BENCH_FILECOUNT=$(($size * 1024 / ($BENCH_FILESIZE / 1024)))
BENCH_BLOCKSIZE=32768
run_experiments() {
for size in $sizes; do
BENCH_FILECOUNT=$(($size * 1024 / ($BENCH_FILESIZE / 1024)))
BENCH_BLOCKSIZE=32768
+ NFS_BLOCKSIZE=32768
run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-32k
BENCH_BLOCKSIZE=0
run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-32k
BENCH_BLOCKSIZE=0
+ NFS_BLOCKSIZE=1048576
run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-1024k
done
}
run_one $BLUESKY_TARGET-$BENCH_WRITERATIO-${size}M-1024k
done
}