X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Fsetup%2Frun-benchmark;h=b38ca8da89aaf03c787526b7e0a1b813b9c35a69;hb=edc8e63804c4c1065f3224e829b711c75330072d;hp=6eb40ff2f936e4891bd78a73a71abccc875e3d0d;hpb=4d584aa004dd09de2cb75091ac8d13432829b3fb;p=bluesky.git diff --git a/microbench/setup/run-benchmark b/microbench/setup/run-benchmark index 6eb40ff..b38ca8d 100755 --- a/microbench/setup/run-benchmark +++ b/microbench/setup/run-benchmark @@ -4,7 +4,7 @@ # Defaults -SERVER=c09-45.sysnet.ucsd.edu +SERVER=vrable2.sysnet.ucsd.edu MNTDIR=/mnt/bluesky BENCH_FILESIZE=$((1 << 12)) @@ -17,6 +17,7 @@ BENCH_OPS=100 BENCH_INTERVALS=4 BENCH_DIRSIZE=256 BENCH_LOCKEDMEM=$((4096 - 256)) +NFS_BLOCKSIZE=1048576 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