More benchmark setup
[bluesky.git] / microbench / setup / warmup-synread
1 #!/bin/bash
2 #
3 # Launch the synthetic read benchmark.
4
5 SYNREAD_OUTSTANDING=32
6 SYNREAD_PROCS=4
7 SYNREAD_SIZE=$((1 << 20))
8 SYNREAD_DURATION=30
9
10 # Export any environment variables specified on the command line
11 for e in "$@"; do
12     echo "$e" 1>&2
13     if echo "$e" | grep = >/dev/null; then
14         eval "$e"
15         export ${e%=*}
16     fi
17 done
18
19 /scratch/bluesky.git/nfs3/synreadbench /scratch/inodes.txt $SYNREAD_OUTSTANDING $SYNREAD_SIZE WARMUP