I have 4 nodes of QNX 4.25 ,and i want to transfer data through FLEET.Every
time i want to send the same data from 1 node to the others at almost the
I hope FLEET has the same function as the TCP/IP’s broadcast ,but which is
process to process
,then i use the method below:
1)On node 1
send1 ,send2 ,send3 — Three processes are created and blocked
prepairing to send the message(date) to one of the node of the other three
control — Then i creat anoter prosess whose duty is to wake up the above
2)on node 2, 3, 4
receive1, receive2, receive3 — Then i creat anoter prosess whose duty is
to wake up the above three processes.
| control |
NODE1 | |
| send1 send 2 send3 |
| \ | / |
- ---------- HUB 100M ------------
| | |
|-------NIC----| |----NIC-------| |–NIC--------|
| / | | | | | \ |
| receive1 | | receive2 | | receive3 |
|| || |_____________|
NODE2 NODE3 NODE4
3)Every process’ priority is set at 29!The HUB and the NICs all work at
4)But it takes so long time to finishe the task! It’s about 530us!
BTW:I use the oscilloscope to measure the time!
Even it is longer than the time to send the date in series through only one
It’s about 310 us!
finally i change the priority of the Net and the Net.ether905 to 29 and
28,and my process to 27 , ,which sends the data. Adding the other two
network cards on NODE 1 ,thus node1 can build three VC directly to NODE2 ,
NODE3 and NODE4. but the question isn’t solved!
The performace is alway poorer than doing the whole thing just in one
process sends the data in series order through one network card !
Who can offer a good idea to send the messages from node 1 to node2,3,4 in a
shorter time? Any help and sugestion will be appreciated!