X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Fsetup%2Frun-synwrite;h=f6c9d8661a7c4c81537f51c147bf1013ee29c890;hb=9e6af9782495abf75e4deaa3b9f7e4d063b48e4b;hp=386aee49206c78234cd72687932487f0fda8b3f9;hpb=611c10480ccfce1545998554503392a69f9d72b3;p=bluesky.git diff --git a/microbench/setup/run-synwrite b/microbench/setup/run-synwrite index 386aee4..f6c9d86 100755 --- a/microbench/setup/run-synwrite +++ b/microbench/setup/run-synwrite @@ -2,6 +2,9 @@ # # Launch the synthetic write benchmark. +# Defaults +SERVER=vrable2.sysnet.ucsd.edu +MNTDIR=/mnt/bluesky SYNWRITE_RATE=10 # Export any environment variables specified on the command line @@ -13,4 +16,8 @@ for e in "$@"; do fi done -/scratch/bluesky.git/nfs3/writebench.py $SYNWRITE_RATE >/scratch/synwrite/$BLUESKY_RUN_NAME.times +mount -t nfs -o vers=3,tcp,rw,soft,intr $SERVER:/export $MNTDIR || exit 1 + +(echo -n "# "; date; cd $MNTDIR; /scratch/bluesky.git/microbench/writebench.py $SYNWRITE_RATE) >/scratch/synwrite/$BLUESKY_RUN_NAME.times + +umount $MNTDIR