Emmanuel Herbreteau(deleted)
|
|
Emmanuel Herbreteau(deleted)
04/27/2012 10:34 AM
post92758
|
Hi everyone,
We have a big problem with QNX 6.4.1 and its implementation
of io-pkt and qnet. Our targets are 2 boards based on MPC5200.
if we launch some simple clients and servers using MsgSend/MsgReceive
through qnet over ethernet, it's fine and/proc/qnetstats doesn't report
any error. (look at the sample code for name_attach(), we may have
several clients for one server)
But, if we change the priorities of our client/server (let's say : a client
at 15, a server at 12, ...etc... but always below 19), we get some
serious troubles :
- qnetstats reports "tx_throttled" and "rx_seq_order", with a lot of timeouts
- some messages are delayed for more than 200 ms (average time is 18 ms)
- and worst : sometime, io-pkt hangs for more than 1 seconds !!!
- We can watch this delay with wireshark.
furthermore, If we set back our processes at the exact same priority (ie : 14, more
than the default 10), it' ok.
It's like priority inheritance create some nasty problem inside
io-pkt. Any ideas ?
Have a nice day.
Emmanuel
|
|
|