Update some benchmark-running scripts
[bluesky.git] / microbench / setup / run-proxy
index c3013c7..94a8e46 100755 (executable)
@@ -4,9 +4,10 @@
 
 # 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
@@ -17,6 +18,10 @@ 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