#! /bin/tcsh
setenv CDEVDDL ${PWD}/Performance.ddl

if ( $?CDEV_NAME_SERVER == 0 ) then
	echo '/nCDEV_NAME_SERVER must be specified/n'
	exit
endif

if ( $?CDEV_ARCH == 0 ) then 
	echo '/nCDEV_ARCH must be specified (Linux, ${CDEV_ARCH}, hpux-10.20, ...)/n'
	exit
endif

../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 6 -e 262144 -b 10  -f 50    -c 1000
../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 6 -e 65536  -b 10  -f 50    -c 1000
../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 6 -e 32768  -b 10  -f 50    -c 1000
../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 6 -e 16384  -b 10  -f 50    -c 1000
../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 6 -e 8192   -b 50  -f 50    -c 1000
../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 6 -e 4096   -b 100 -f 100   -c 1000
../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 6 -e 1024   -b 500 -f 500   -c 3000
../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 6 -e 256    -b 500 -f 1000  -c 10000
../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 6 -e 64     -b 500 -f 4000  -c 40000
../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 2 -e 1      -b 500 -f 10000 -c 100000
../../bin/${CDEV_ARCH}/PerformanceTest2 -d device0 -m "set attrib0" -t 1 -e 1      -b 500 -f 10000 -c 100000
