#!/bin/bash
-PARAMS="BLUESKY_CACHE_SIZE BLUESKY_TARGET BENCH_DURATION BENCH_FILESIZE BENCH_FILECOUNT BENCH_WRITERATIO BENCH_THREADS BENCH_OPS BENCH_INTERVALS BENCH_DIRSIZE BENCH_BLOCKSIZE NFS_BLOCKSIZE"
+PARAMS="BLUESKY_RUN_NAME BLUESKY_CACHE_SIZE BLUESKY_TARGET BENCH_DURATION BENCH_FILESIZE BENCH_FILECOUNT BENCH_WRITERATIO BENCH_THREADS BENCH_OPS BENCH_INTERVALS BENCH_DIRSIZE BENCH_BLOCKSIZE NFS_BLOCKSIZE"
+BLUESKY_RUN_NAME=$(date +%Y%m%d)-$$
BENCHER=c09-44.sysnet.ucsd.edu
PROXY=c09-45.sysnet.ucsd.edu
-SSH_ARGS=""
+SSH_ARGS="-i $HOME/.ssh/id_bluesky"
get_params() {
for p in $PARAMS; do
ssh $SSH_ARGS -l root $host /scratch/bluesky.git/microbench/setup/$cmd "$@" $(get_params)
}
-BLUESKY_CACHE_SIZE=$((512 * 1024))
+BLUESKY_CACHE_SIZE=$((8 * 1024 * 1024))
BENCH_FILESIZE=$((1024 * 1024))
BENCH_BLOCKSIZE=0
BENCH_FILECOUNT=$((62))
# Defaults
. /scratch/aws-keys
-export BLUESKY_CACHE_SIZE=$((512 * 1024))
+export BLUESKY_RUN_NAME=$(date +%Y%m%d)-$$
+export BLUESKY_CACHE_SIZE=$((8 * 1024 * 1024))
export BLUESKY_TARGET=s3
-export BLUESKY_PROFILE_OUT=/export2/profile.txt
+#export BLUESKY_PROFILE_OUT=/export2/profile.txt
# Export any environment variables specified on the command line
for e in "$@"; do
fi
done
+# Track system performance counter data
+export BLUESKY_STATS_OUT=/export2/$BLUESKY_RUN_NAME.stats
+/usr/lib/atsar/atsadc 5 17280 /export2/$BLUESKY_RUN_NAME.sadc
+
if [ "$BLUESKY_TARGET" = "native" ]; then
/etc/init.d/nfs-kernel-server start
else