Include changes memory
[ACE_TAO.git] / TAO / orbsvcs / tests / EC_Multiple / run_throughput
blobde208bf8593a042d16f208641bad16227960676b
1 #!/bin/sh
3 MSG_COUNT=500
4 # The number of messages to send.
6 HP_CONSUMERS="1 5 10 20"
7 # The number of high priority consumers.
9 HP_SUPPLIERS="1 2 10"
10 # The number of high priority suppliers
12 HP_INTERVALS="30000 25000 20000 19000 18000 17000 16000 15000 12000 10000"
14 /bin/rm -f NameService.ior NameService.pid EC1.pid EC2.pid EC.pid
16 for s in $HP_SUPPLIERS; do
17 for c in $HP_CONSUMERS; do
18 for i in $HP_INTERVALS; do
19 echo echo Supplier = $s Consumer = $c Interval = $i
20 ../../Naming_Service/Naming_Service \
21 -o NameService.ior -p NameService.pid >/dev/null 2>&1 &
22 sleep 2
23 NameService=`cat NameService.ior`
24 export NameService
26 ./EC_Multiple -l ECM1 -p ECM1.pid -s runtime \
27 -h ${s},${c},0,${i},${MSG_COUNT},1,2,1,2 > \
28 THR.LCL.S${s}.C${c}.I${i}.log 2>&1
29 kill `cat NameService.pid`
30 done
31 done
32 done