[ds6-devel] UDP buffer sizes
Chris Leishman
chris@leishman.org
Fri Jan 3 14:20:01 CET 2003
Hi,
I was wondering if we should adjust the buffer sizes in UDP mode....
At the moment, the buffer size is 65536 - big enough to fit the largest
possible UDP packet. But the NRU is also set to 65536, which means
that we can't read another packet until the buffer is empty again.
This isn't a real problem as long as the OS buffers the packets for us
- but I can't remember how much it does and I can't be bothered looking
;)
Opinions? Should we increase the buffer size so that more than one
packet can be buffered at a time? In reality only a small increase
would be required. If we assume normal UDP packets will be around 8k,
and we want to be able to buffer, say, 3, then we should add 24k to the
current value.
I'm thinking the OS should do a good enough job of buffering, but I
figured I should mention it.
Regards,
Chris
More information about the ds6-devel
mailing list