|
Question : UDP buffer sizing on Windows
|
|
We receive large amounts of UDP multicast data ... our buffers seem to be too small as we lose a few packets quite often (most likely due to scheduling). How do I adjust the size of the OS level UDP receive buffers?
equivalent of ...
sysctl -w kern.ipc.maxsockbuf=xxxxx in BSD
In running a netstat I am seeing
UDP Statistics for IPv4
Datagrams Received = 66550148 No Ports = 64212 Receive Errors = 0 Datagrams Sent = 5810
So perhaps the buffer size is not a problem?
We are also seeing alot of packet address errors (any suggestions on progressing on this?)... netstat-s included
IPv4 Statistics
Packets Received = 135416398 Received Header Errors = 0 Received Address Errors = 65752170 Datagrams Forwarded = 0 Unknown Protocols Received = 0 Received Packets Discarded = 0 Received Packets Delivered = 135416398 Output Requests = 68335246 Routing Discards = 0 Discarded Output Packets = 0 Output Packet No Route = 0 Reassembly Required = 0 Reassembly Successful = 0 Reassembly Failures = 0 Datagrams Successfully Fragmented = 0 Datagrams Failing Fragmentation = 0 Fragments Created = 0
|
Answer : UDP buffer sizing on Windows
|
|
Hi,
Windows does not impose a buffer size restriction by default. But for performance tunning you can checkout this site:
http://wiki.tangosol.com/display/COH33UG/Performance+Tuning
|
|
|