Jan Henrik(deleted)
|
recv() does not immediately return when data is available
|
Jan Henrik(deleted)
08/09/2012 10:41 AM
post94720
|
recv() does not immediately return when data is available
Hi,
I have a UDP sender attached to my QNX 6.5.0 machine that sends me an UDP packet every ~1.2ms. I want to process those
packets with as low latency and low jitter as possible.
When I do a blocking call to recv() the method returns after 1ms or 2ms, with realtime clock tick length set to the
default value of 1ms. If I set the realtime clock to a tick size of 0.1ms, I get interval times at 1.2ms and 1.3ms per
recv() call. So the waiting time of recv() seems to be coupled to the realtime clock.
Does it not work interrupt based and should return immediately after receiving the packet?
I tried to network cards, one onboard with an Intel chip and the other connected via PCI, also with an Intel chip.
Can anyone help me?
Regards,
Jan
|
|
|