bjizzle34
July 1st, 2007, 11:21 AM
I have a UDP socket receiving bursty multicast data and I am experiencing packet loss. The service time for each packet has been profiled and is very short. I beleive I am am overrunning the receive buffer which defaults to 8K (Win XP, C#).
In increasing the receive side buffer size to address the packet loss, I have seen degraded performance from my reads (longer timespans between send timestamps contained in packet and receive timestamps).
Are there any known limitations to the size of windows socket receive buffers? Has anyone experienced performance degredation when increasing the size of this buffer? Is it possible that the managed memory environment is having an adverse effect on my ability to ask the socket to work with a large receive side buffer?
In increasing the receive side buffer size to address the packet loss, I have seen degraded performance from my reads (longer timespans between send timestamps contained in packet and receive timestamps).
Are there any known limitations to the size of windows socket receive buffers? Has anyone experienced performance degredation when increasing the size of this buffer? Is it possible that the managed memory environment is having an adverse effect on my ability to ask the socket to work with a large receive side buffer?