projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a782e36
)
Make NFS rsize/wsize configurable in the microbenchmark runs.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Sun, 27 Feb 2011 20:46:31 +0000
(12:46 -0800)
committer
Michael Vrable
<mvrable@cs.ucsd.edu>
Sun, 27 Feb 2011 20:46:31 +0000
(12:46 -0800)
microbench/setup/run-benchmark
patch
|
blob
|
history
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))
+NFS_BLOCKSIZE=32768
lock_memory() {
MEM=$1
@@
-41,7
+42,7
@@
done
# 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