projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make NFS rsize/wsize configurable in the microbenchmark runs.
[bluesky.git]
/
microbench
/
setup
/
run-benchmark
diff --git
a/microbench/setup/run-benchmark
b/microbench/setup/run-benchmark
index
6eb40ff
..
fbe28c8
100755
(executable)
--- a/
microbench/setup/run-benchmark
+++ b/
microbench/setup/run-benchmark
@@
-17,6
+17,7
@@
BENCH_OPS=100
BENCH_INTERVALS=4
BENCH_DIRSIZE=256
BENCH_LOCKEDMEM=$((4096 - 256))
BENCH_INTERVALS=4
BENCH_DIRSIZE=256
BENCH_LOCKEDMEM=$((4096 - 256))
+NFS_BLOCKSIZE=32768
lock_memory() {
MEM=$1
lock_memory() {
MEM=$1
@@
-41,7
+42,7
@@
done
# Prepare to run the benchmark
lock_memory $BENCH_LOCKEDMEM
# Prepare to run the benchmark
lock_memory $BENCH_LOCKEDMEM
-mount -t nfs -o vers=3,tcp,rw,soft,intr $SERVER:/export $MNTDIR
+mount -t nfs -o vers=3,tcp,rw,soft,intr
,rsize=$NFS_BLOCKSIZE,wsize=$NFS_BLOCKSIZE
$SERVER:/export $MNTDIR
pushd $MNTDIR >/dev/null
pushd $MNTDIR >/dev/null