Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / Roundtrip / run_dispatching.sh
blob60962506cc4b1f9bffe0ac7990c180587920addb
1 #! /bin/sh
4 LOW_PRIORITY="1 5 10 15 20 15 30 35 40 45 50"
5 #" 60 70 80 90 100 110 120 130 140 150 160"
7 #IOR=/project/amras/coryan/IOR/roundtrip.ior
8 IOR=test.ior
10 for c in $LOW_PRIORITY; do
11 # date
12 # echo reactive $c
14 # /bin/rm -f $IOR
15 # ssh celegorm "cd /project/celegorm/coryan/EC_Roundtrip ; ./server -ORBSvcConf ec.dispatching_reactive.conf -o $IOR" >server.log 2>&1 </dev/null &
16 # while [ ! -f $IOR ]; do
17 # sleep 1
18 # done
19 # ./client -d -h 1000 -l 2000 -i 500 -n $c -k file://$IOR > ec_dispatching_reactive.$c.txt 2>&1
20 # wait
22 # date
23 # echo threaded $c
25 # /bin/rm -f $IOR
26 # ssh celegorm "cd /project/celegorm/coryan/EC_Roundtrip ; ./server -ORBSvcConf ec.dispatching_threaded.conf -o $IOR" >server.log 2>&1 </dev/null &
27 # while [ ! -f $IOR ]; do
28 # sleep 1
29 # done
30 # ./client -d -h 1000 -l 2000 -i 500 -n $c -k file://$IOR > ec_dispatching_threaded.$c.txt 2>&1
31 # wait
33 date
34 echo rtcorba $c
36 /bin/rm -f $IOR
37 # ssh celegorm "cd /project/celegorm/coryan/EC_Roundtrip ; ./server -ORBSvcConf ec.dispatching_rtcorba.conf -r -o $IOR" >server.log 2>&1 </dev/null &
38 ./server -ORBSvcConf ec.dispatching_rtcorba.conf -r -o $IOR" >server.log 2>&1 </dev/null &
39 while [ ! -f $IOR ]; do
40 sleep 1
41 done
42 ./client -ORBSvcConf ec.dispatching_rtcorba.conf -r -d -h 1000 -l 2000 -i 500 -n $c -k file://$IOR > ec_dispatching_rtcorba.$c.txt 2>&1
43 wait
45 done