X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Fsetup%2Frun-synwrite;h=650c4b8e715cfb52b101e4912fa98d0957e80bea;hb=9dfe082624e7eea541e2ccff9e638e8d7fbdcbf2;hp=50ec59a0f9507f845988ef912f3579f57f109325;hpb=f7c854f10e61064438a6a7e52b23e108268ca168;p=bluesky.git diff --git a/microbench/setup/run-synwrite b/microbench/setup/run-synwrite index 50ec59a..650c4b8 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 -(echo -n "# "; date; /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-$SYNWRITE_RATE.times + +umount $MNTDIR