[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Network Checksum Removal


  • To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • From: Bin Ren <bin.ren@xxxxxxxxx>
  • Date: Mon, 23 May 2005 20:55:47 +0100
  • Cc: Andrew Theurer <habanero@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Jon Mason <jdmason@xxxxxxxxxx>
  • Delivery-date: Mon, 23 May 2005 19:55:11 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CjWg568i0jkq2DAXlEWOoIyKqX3vef7MTekWzbXETO8mET7SdPTw/XY4CHqxSX3KV/fwEB84jcXsDhMZjsnOxaITgYnGqNbprJ/+y/nWqBMwfGnycR6l8COzCSk0HEHtqM7+totLNB29Y3D1yAp5TbUe01DaBFYSEAYo0lOU5wQ=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I've added the support for ethtools. By turning on and off netfront
checksum offloading, I'm getting the following throughput numbers,
using iperf. Each test was run three times. CPU usages are quite
similar in two cases ('top' output). Looks like checksum computation
is not a major overhead in domU networking.

dom0/1/2 all have 128M memory. dom0 has e1000 tx checksum offloading turned on.

With Tx checksum on:

dom1->dom2: 300Mb/s (dom0 cpu maxed out by software interrupts)
dom1->dom0: 459Mb/s (dom0 cpu 80% in SI, dom1 cpu 20% in SI)
dom1->external: 439Mb/s (over 1Gb/s ethernet) (dom0 cpu 50% in SI,
dom1 60% in SI)

With Tx checksum off:

dom1->dom2: 301Mb/s
dom1->dom0: 454Mb/s
dom1->externel: 437Mb/s (over 1Gb/s ethernet)

On 5/23/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> 
> On 23 May 2005, at 17:36, Bin Ren wrote:
> 
> > Keir has removed 'SET_ETHTOOL_OPS(dev, &network_ethtool_ops);' from
> > your patch. The operations are not supported.
> 
> Ah, I thought that was just testing infrastructure. I'll take a patch
> to add the ethtool ops back in.
> 
> Bin -- does your domain0 traffic get delivered via the bridge device or
> via the new vif0.0/veth0 that I added? If the former you might want to
> try updating your /etc/xen/scripts/network script. Although delivery
> via the bridge ought to work...
> 
>   -- Keir
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.