3 # The number of messages to send.
6 # The number of high-priority consumers.
9 # The number of high-priority suppliers
12 # The number of low-priority consumers
13 # LP_CONSUMERS="1 5 10 20"
14 LP_CONSUMERS
="1 10 100 200 300 500 1000"
20 ######## Enable signal handler.
24 if [ "$NameServicePID" ]; then \
25 kill -1 $NameServicePID; NameServicePID=; \
27 /bin/rm -f NameService.ior' 0 1 2 3 15
30 for s
in $HP_SUPPLIERS; do
31 for c
in $LP_CONSUMERS; do
32 ..
/..
/Naming_Service
/Naming_Service \
33 -ORBobjrefstyle url
-o NameService.ior
>/dev
/null
2>&1 &
36 while [ ! -f NameService.ior
-a $done -eq 0 ]; do
37 echo waiting
for NameService.ior
; sleep 2
39 NameService
=`cat NameService.ior`
42 echo Consumers
= $c Suppliers
= $s
43 # ./EC_Multiple -l ECM3 -s local -d sched \
44 # -h ${s},${s},0,${HP_INTERVAL},${MSG_COUNT},1,2,1,2 \
45 # -w 1,${c},0,${LP_INTERVAL},${MSG_COUNT},3,4,3,4 > \
46 # DYN.LCL.S${s}.C${c}.log 2>&1
47 .
/EC_Multiple
-l ECM3
-s runtime \
48 -h ${s},${s},0,${HP_INTERVAL},${MSG_COUNT},1,2,1,2 \
49 -w 1,${c},0,${LP_INTERVAL},${MSG_COUNT},3,4,3,4 > \
50 DYN.LCL.S
${s}.C
${c}.log
2>&1
52 if [ $done -eq 1 ]; then exit 1; fi
54 kill -1 $NameServicePID; NameServicePID
=