[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071220.155518.42408378.davem@davemloft.net>
Date: Thu, 20 Dec 2007 15:55:18 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: ilpo.jarvinen@...sinki.fi, netdev@...r.kernel.org
Subject: Re: TSO trimming question
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 20 Dec 2007 22:00:12 +0800
> On Thu, Dec 20, 2007 at 04:00:37AM -0800, David Miller wrote:
> >
> > In the most ideal sense, tcp_window_allows() should probably
> > be changed to only return MSS multiples.
> >
> > Unfortunately this would add an expensive modulo operation,
> > however I think it would elimiate this problem case.
>
> Well you only have to divide in the unlikely case of us being
> limited by the receiver window. In that case speed is probably
> not of the essence anyway.
Agreed, to some extent.
I say "to some extent" because it might be realistic, with
lots (millions) of sockets to hit this case a lot.
There are so many things that are a "don't care" performance
wise until you have a lot of stinky connections over crappy
links.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists