From 9c6ecd5f09e7b318f3f27f90d48e9591110c7021 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 9 Feb 2011 15:23:36 -0800 Subject: [PATCH] Add setup script for starting the proxy for benchmarking. --- microbench/setup/run-proxy | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 microbench/setup/run-proxy diff --git a/microbench/setup/run-proxy b/microbench/setup/run-proxy new file mode 100755 index 0000000..928fcee --- /dev/null +++ b/microbench/setup/run-proxy @@ -0,0 +1,20 @@ +#!/bin/bash +# +# Start up the NFS server. + +# Defaults +. /scratch/aws-keys +export BLUESKY_CACHE_SIZE=$((512 * 1024)) +export BLUESKY_TARGET=s3 + +# Export any environment variables specified on the command line +for e in "$@"; do + echo "$e" 1>&2 + if echo "$e" | grep = >/dev/null; then + eval "$e" + export ${e%=*} + fi +done + +mkdir /export/journal 2>/dev/null +(cd /export; /scratch/bluesky.git/nfs3/nfsproxy) -- 2.20.1