netdev
[Top] [All Lists]

RE: Intel and TOE in the news

To: "'Andi Kleen'" <ak@xxxxxx>, "'Leonid Grossman'" <leonid.grossman@xxxxxxxxxxxx>
Subject: RE: Intel and TOE in the news
From: "Leonid Grossman" <leonid.grossman@xxxxxxxxxxxx>
Date: Tue, 22 Feb 2005 14:51:15 -0800
Cc: "'Stephen Hemminger'" <shemminger@xxxxxxxx>, <hadi@xxxxxxxxxx>, "'rick jones'" <rick.jones2@xxxxxx>, <netdev@xxxxxxxxxxx>, "'Alex Aizman'" <alex@xxxxxxxxxxxx>
In-reply-to: <20050222224237.GB60153@muc.de>
Sender: netdev-bounce@xxxxxxxxxxx
Thread-index: AcUZL88u7zG34AE9TYuaV3221jpuKgAAEnjA
 

> -----Original Message-----
> From: Andi Kleen [mailto:ak@xxxxxx] 
> Sent: Tuesday, February 22, 2005 2:43 PM
> To: Leonid Grossman
> Cc: 'Stephen Hemminger'; hadi@xxxxxxxxxx; 'rick jones'; 
> netdev@xxxxxxxxxxx; 'Alex Aizman'
> Subject: Re: Intel and TOE in the news
> 
> On Tue, Feb 22, 2005 at 02:17:35PM -0800, Leonid Grossman wrote:
> >  
> > 
> > > -----Original Message-----
> > > From: Andi Kleen [mailto:ak@xxxxxx]
> > > Sent: Tuesday, February 22, 2005 1:44 PM
> > > To: Leonid Grossman
> > > Cc: 'Stephen Hemminger'; hadi@xxxxxxxxxx; 'rick jones'; 
> > > netdev@xxxxxxxxxxx; 'Alex Aizman'
> > > Subject: Re: Intel and TOE in the news
> > > 
> > > > TSO case is probably different - TSO hardware just sets 
> PSH on the 
> > > > last fragment only (and only if the flag was set on the
> > > original large
> > > > tx packet). Receiver doesn't really know if the sender is
> > > TSO-capable
> > > > or not and will ACK the same way - will it not?
> > > > Anyway, with LRO we do change rx packet count so 
> affecting parts 
> > > > of TCP that depend on packet count is indeed a concern; I guess 
> > > > we'll find out soon enough whether there are real 
> issues with the
> > > approach
> > > > :-)
> > > 
> > > Linux doesn't depend on packet count; it keeps an estimate called 
> > > rcv_mss about the biggest seen packet size and acks every 
> 2*rcv_mss 
> > > worth of data.
> > > 
> > > Your scheme would likely result in acking every two of your large 
> > > packets as soon as the connection is out of "quickack"
> > > mode. So there would be on wire differences. 
> > 
> > Sounds good, thanks! We should be OK then.
> 
> Are you sure? It definitely wouldn't look like a conventional 
> TCP ack clock on the wire, but you would get an ack only every
> (BIGPACKETSIZE/MSS) * 2 packets. 
> 
> Quite a stretch ACK.
> 
> I'm not saying it wouldn't work (and maybe Rick et.al. are 
> right and Acking overhead is the next TCP frontier), but it 
> would be definitely quite different. It needs careful testing 
> on how it behaves with packet loss.

Sure, but I think the main RSO application will be in a datacenter; this
assumes very little packet loss.
I agree that corner cases will need to be tested very carefully, and there
may be scenarious when the feature will not work well and may need to be
turned off. 

In general, I don't expect RSO benefits to be significant (just because rx
processing for 1500 MTU is still one of the biggest bottlenecks for 10GbE,
so every bit will help) but certanly not as big or as transparent as TSO
benefits.

Leonid

> 
> -Andi
> 


<Prev in Thread] Current Thread [Next in Thread>