1 # Common definitions and functions for the various run-* scripts.
5 SCRIPT_PATH=/scratch/bluesky.git/microbench/setup
7 PARAMS="BLUESKY_RUN_NAME BLUESKY_CACHE_SIZE BLUESKY_TARGET BENCH_DURATION BENCH_FILESIZE BENCH_FILECOUNT BENCH_WRITERATIO BENCH_THREADS BENCH_OPS BENCH_INTERVALS BENCH_DIRSIZE BENCH_BLOCKSIZE NFS_BLOCKSIZE SPEC_CONF BLUESKY_OPT_FULL_SEGMENTS"
9 BLUESKY_RUN_NAME=$(date +%Y%m%d)-$$
10 BENCHER=vrable1.sysnet.ucsd.edu
11 PROXY=vrable2.sysnet.ucsd.edu
13 SSH_ARGS="-i $HOME/.ssh/id_bluesky"
17 if [ -n "${!p}" ]; then
26 echo "EXECUTE($host):" "$cmd" "$@" 1>&2
27 ssh $SSH_ARGS -l root $host $SCRIPT_PATH/$cmd "$@" $(get_params)
30 BLUESKY_CACHE_SIZE=$((8 * 1024 * 1024))
31 BENCH_FILESIZE=$((1024 * 1024))
33 BENCH_FILECOUNT=$((62))