Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / Roundtrip / run_locking.sh
blobb416e61bd12c8d5f06c87230833fe705ddbf8282
1 #! /bin/sh
4 . parameters
6 for n in $NTHREADS; do
7 for c in $NCONSUMERS; do
8 for t in $LOCKING_TYPES; do
9 date
10 echo $t $c $n
12 /bin/rm -f $IOR
13 # ssh $REMOTE_HOST "cd $REMOTE_LOCATION ; ./server -ORBSvcConf ec.locking_${t}.conf -r -o $IOR" >server.log 2>&1 </dev/null &
14 ./server -ORBSvcConf ec.locking_${t}.conf -o $IOR -n $n >server.log 2>&1 </dev/null &
15 while [ ! -f $IOR ]; do
16 sleep 1
17 done
18 ./client -d -u -h 10000 -l 10000 -i $ITERATIONS -c $c -n $n -k file://$IOR > ec_locking.${t}.$c.txt 2>&1
20 wait
21 done
22 done
23 done