4 # The number of messages to send.
6 HP_CONSUMERS
="1 5 10 20"
7 # The number of high priority consumers.
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 &
23 NameService
=`cat NameService.ior`
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`