projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52331b7
)
Add setup script for starting the proxy for benchmarking.
author
root
<root@c09-45.sysnet.ucsd.edu>
Wed, 9 Feb 2011 23:23:36 +0000
(15:23 -0800)
committer
root
<root@c09-45.sysnet.ucsd.edu>
Wed, 9 Feb 2011 23:23:36 +0000
(15:23 -0800)
microbench/setup/run-proxy
[new file with mode: 0755]
patch
|
blob
diff --git a/microbench/setup/run-proxy
b/microbench/setup/run-proxy
new file mode 100755
(executable)
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)