Re: [0/5] GSO: Generic Segmentation Offload

2006-06-23 Thread Herbert Xu
On Thu, Jun 22, 2006 at 11:28:01PM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote: > > Can you measure some with other sizes, > e.g. 4kByte, 8kByte, 9000Byte? GSO like TSO is less effective when the MTU is larger. However, NICs supporting larger MTUs also support SG. So the figures I included for

Re: [0/5] GSO: Generic Segmentation Offload

2006-06-22 Thread YOSHIFUJI Hideaki / 吉藤英明
Hello. Yes, I genrally like this idea. In article <[EMAIL PROTECTED]> (at Thu, 22 Jun 2006 18:12:11 +1000), Herbert Xu <[EMAIL PROTECTED]> says: > GSO like TSO is only effective if the MTU is significantly less than the > maximum value of 64K. So only the case where the MTU was set to 1500 is

Re: [0/5] GSO: Generic Segmentation Offload

2006-06-22 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Thu, 22 Jun 2006 18:12:11 +1000 > This is a repost of the GSO patches. The main change is the fix to a bug > in the way dev->gso_skb is freed. This series requires the dev_deactivate > patch that I just posted. Applied, thanks a lot Herbert. - To unsub

Re: [0/5] GSO: Generic Segmentation Offload

2006-06-22 Thread Herbert Xu
Hi: If anyone is interested here is the incremental patch against the previous series. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --

[0/5] GSO: Generic Segmentation Offload

2006-06-22 Thread Herbert Xu
Hi: This is a repost of the GSO patches. The main change is the fix to a bug in the way dev->gso_skb is freed. This series requires the dev_deactivate patch that I just posted. Here is the original description: This series adds Generic Segmentation Offload (GSO) support to the Linux networking

Re: [0/5] GSO: Generic Segmentation Offload

2006-06-20 Thread Rick Jones
$ sudo ./ethtool -K lo gso on $ sudo ifconfig lo mtu 1500 $ netperf -t TCP_STREAM TCP STREAM TEST to localhost Recv SendSend Socket Socket Message Elapsed Size SizeSize Time Throughput bytes bytes bytessecs.10^6bits/sec 87380 16384 1638410.003598.17 W

Re: [0/5] GSO: Generic Segmentation Offload

2006-06-20 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Tue, 20 Jun 2006 19:32:19 +1000 > On Tue, Jun 20, 2006 at 07:09:19PM +1000, herbert wrote: > > > > I've attached some numbers to demonstrate the savings brought on by > > doing this. The best scenario is obviously the case where the underlying > > NIC su

Re: [0/5] GSO: Generic Segmentation Offload

2006-06-20 Thread Herbert Xu
On Tue, Jun 20, 2006 at 07:09:19PM +1000, herbert wrote: > > I've attached some numbers to demonstrate the savings brought on by > doing this. The best scenario is obviously the case where the underlying > NIC supports SG. This means that we simply have to manipulate the SG > entries and place th

[0/5] GSO: Generic Segmentation Offload

2006-06-20 Thread Herbert Xu
Hi: This series adds Generic Segmentation Offload (GSO) support to the Linux networking stack. Many people have observed that a lot of the savings in TSO come from traversing the networking stack once rather than many times for each super-packet. These savings can be obtained without hardware su