Thanks Simon, I use ndd to set the udp parameters, so they will assume the defaults on reboot. Some more information:
- The payload is <= 1472 bytes, so it will fit in one UDP packet. - udp_max_buf = 8388608 and udp_recv_hiwat = 65536 (these I think are the max values) Anything else that I could look into? Thanks, Vishal On Wed, Sep 9, 2009 at 8:30 AM, Simon Leinen <[email protected]> wrote: > First suggestion: use TCP, and get flow control for free (not free of > course, but it's worth it). > > If you really want to (or have to) use UDP and no flow control, in my > experience enlarging the UDP socket buffers works wonders. You could > probably use the parameters you mention to achieve this. But rather than > changing the system-wide defaults, I strongly suggest that you use > setsockopt(..., SOL_SOCKET, SO_{SND,RCV}BUF, ...) on the sending and > receiving sockets of your non-flow-controlled application. > -- > Simon. > -- > This message posted from opensolaris.org > _______________________________________________ > networking-discuss mailing list > [email protected] >
_______________________________________________ networking-discuss mailing list [email protected]
