3 # Stress Test Suite Configuration
6 export RUNDIR=${RUNDIR:-/tmp/stressX}
7 export RUNTIME=${RUNTIME:-2m}
8 export VERBOSE=${VERBOSE:-1}
11 # The INCARNATIONS variable should be set to match the number of CPUs and
12 # the amount of RAM in the test box.
13 # 10 for a 1,8 GHz Celeron with 256 Mb of RAM
14 # 100 for a dual Xeon 1,8 GHz with 1024 Gb of RAM
16 export INCARNATIONS=${INCARNATIONS:-20}
19 #export BLASTHOST=192.168.1.2 # host with udp disacard enabled in inetd.conf
20 export BLASTHOST=192.168.1.3 # host with udp disacard enabled in inetd.conf
24 export runRUNTIME=${runRUNTIME:-3d} # Run tests for three days
25 export runINCARNATIONS=1
28 export swapINCARNATIONS=$((2 * INCARNATIONS))
41 export shmINCARNATIONS=5
53 [ -r default.cfg ] && ulimit -t 200 # Do not run this for the misc sub directory
56 # Defaults for ./misc tests
59 diskimage=/var/tmp/diskimage # Location of 1G disk image
60 mntpoint=/mnt # Disk image mount point
61 testuser=pho # Name of non root test user
62 mdstart=5 # Start of free md units
63 part=a # partitition to use on a md FS
66 dede () { # file, blocksize, count
68 dd if=/dev/zero of=$1 bs=$2 count=$3 > $log 2>&1
70 egrep -v "records in|records out|bytes transferred" $log
75 [ -f "./`hostname`" ] && . "./`hostname`" # source in local configuration
76 [ -f "../`hostname`" ] && . "../`hostname`" # source in local configuration