Explicitly mount NFS using version 3 in microbenchmarks.
[bluesky.git] / microbench / run.sh
index 8a0dd74..8b0856d 100755 (executable)
@@ -18,7 +18,7 @@ run_setup() {
     $NFSD &
     NFSPID=$!
     sleep 0.5
-    sudo mount -t nfs -o tcp,hard,intr localhost:/bluesky /mnt/bluesky || die "Mounting NFS"
+    sudo mount -t nfs -o tcp,hard,intr,vers=3 localhost:/bluesky /mnt/bluesky || die "Mounting NFS"
 }
 
 run_cleanup() {
@@ -32,7 +32,7 @@ benchmark_setup() {
     echo "Checking for sudo access..." 1>&2
     sudo whoami
     echo "Preparing for benchmark run..." 1>&2
-    $HOME/docs/2009/fall/s3test/s3-cleanup.py mvrable-bluesky
+    s3cmd -r --force del s3://mvrable-bluesky
     run_setup
     for i in {1..64}; do
         dd if=/dev/urandom of=/mnt/bluesky/file-$i bs=32k count=1