[ds6-devel] Re: nagle algorithm

Mauro Tortonesi mauro@deepspace6.net
Tue Dec 31 00:05:37 2002


On Tue, 31 Dec 2002, Chris Leishman wrote:

>
> On Tuesday, December 31, 2002, at 01:22 AM, Mauro Tortonesi wrote:
>
> >
> > chris,
> >
> > 	i have just received a mail from a friend of mine who suggests to
> > disable by default the nagle algorithm in transfer mode. i think this
> > is a
> > good suggestion.
> >
>
> Trivial to do, though I'm curious why it would be useful.  The nagle
> algorithm is used to coalesce packets together before transmission over
> the network.  It can be annoying for real time protocols, but in most
> cases it can only be a benefit.  File transfer isn't exactly real time,
> and the nagle algorithm should help to fill out all the packets being
> sent...
>
> But on the advocacy side, we should be writing fairly large chunks at a
> time anyway, so there wont be much coalescing to be done.
>
> Really....I don't care too much, but it would be interesting to do some
> tests...

ok. as i suppose this is an __extremely__ networking stack implementation
dependent thing, we should probably keep the actual behaviour, at least
until we have performed a few tests.

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi			mauro@deepspace6.net
				mauro@ferrara.linux.it
Deep Space 6 - IPv6 on Linux	http://www.deepspace6.net
Ferrara Linux Users Group	http://www.ferrara.linux.it


More information about the ds6-devel mailing list