X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Fsetup%2Frun-proxy;h=5923ea9fe941e1b366690bbccf6bbc8448dbbaa2;hb=1e529ae15592d672b0825fd0e76c7b2b87fd95bb;hp=928fceee75f071540a4d9e742b5547943badc4ed;hpb=9c6ecd5f09e7b318f3f27f90d48e9591110c7021;p=bluesky.git diff --git a/microbench/setup/run-proxy b/microbench/setup/run-proxy index 928fcee..5923ea9 100755 --- a/microbench/setup/run-proxy +++ b/microbench/setup/run-proxy @@ -4,8 +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 any environment variables specified on the command line for e in "$@"; do @@ -16,5 +18,13 @@ for e in "$@"; do fi done -mkdir /export/journal 2>/dev/null -(cd /export; /scratch/bluesky.git/nfs3/nfsproxy) +# 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 + mkdir /export/journal 2>/dev/null + (cd /export; /scratch/bluesky.git/nfs3/nfsproxy) +fi