diff options
Diffstat (limited to 'TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/run_locking.sh')
-rwxr-xr-x | TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/run_locking.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/run_locking.sh b/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/run_locking.sh new file mode 100755 index 00000000000..c2a9855bbdf --- /dev/null +++ b/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/run_locking.sh @@ -0,0 +1,25 @@ +#! /bin/sh +# +# $Id$ +# + +. parameters + +for n in $NTHREADS; do + for c in $NCONSUMERS; do + for t in $LOCKING_TYPES; do + date + echo $t $c $n + + /bin/rm -f $IOR +# ssh $REMOTE_HOST "cd $REMOTE_LOCATION ; ./server -ORBSvcConf ec.locking_${t}.conf -r -o $IOR" >server.log 2>&1 </dev/null & + ./server -ORBSvcConf ec.locking_${t}.conf -o $IOR -n $n >server.log 2>&1 </dev/null & + while [ ! -f $IOR ]; do + sleep 1 + done + ./client -d -u -h 10000 -l 10000 -i $ITERATIONS -c $c -n $n -k file://$IOR > ec_locking.${t}.$c.txt 2>&1 + + wait + done + done +done |