Neil Putnam writes:
> chandu valesh wrote:
> >  Hi James Carlson & all,
> > 
> > James Carlson  writes:
> >  > Yes; the IPPROTO_TCP, TCP_NODELAY socket option can be used to change
> >> the way TCP deals with small writes from the application.
> > Are there any other parameters that will control/affect the Nagles
> > algorithm apart form TCP_NODELAY? i.e
> 
> The TCP ndd parameter tcp_naglim_def.

However, you can't depend on that to keep your transmissions separate,
and it's a system-wide hack (not a per-application control).  TCP is
still free to combine segments whenever it wants.

> loss occurs.  Better to have the app write data in larger chunks, if 
> possible.

Or, since the original poster is using Diameter, switch to SCTP.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to