386aee49206c78234cd72687932487f0fda8b3f9
[bluesky.git] / microbench / setup / run-synwrite
1 #!/bin/bash
2 #
3 # Launch the synthetic write benchmark.
4
5 SYNWRITE_RATE=10
6
7 # Export any environment variables specified on the command line
8 for e in "$@"; do
9     echo "$e" 1>&2
10     if echo "$e" | grep = >/dev/null; then
11         eval "$e"
12         export ${e%=*}
13     fi
14 done
15
16 /scratch/bluesky.git/nfs3/writebench.py $SYNWRITE_RATE >/scratch/synwrite/$BLUESKY_RUN_NAME.times