WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Nivedita Singhvi <niv@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Network Checksum Removal
From: Bin Ren <bin.ren@xxxxxxxxx>
Date: Mon, 23 May 2005 22:48:28 +0100
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Andrew Theurer <habanero@xxxxxxxxxx>, Jon Mason <jdmason@xxxxxxxxxx>
Delivery-date: Mon, 23 May 2005 21:47:53 +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=pE0+B63YMbjaj6CmaFW0+XBVK8tqPx9kFoYagAvB7pq2Birhwd7QyfY1dxygsztkc3Qobu6/YKLCZKPFTkFRmRcYUA3cufik+18MduitvlD6L3l5E+3ELVQT3GyOwVwTXLSFKxS2uhH9EpkQiNG5mVe1cFMjB/rqWEh+IJknrBE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42924738.9020106@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20050520233015.GA26305@xxxxxxxxxx> <8ae78025050523085662a94019@xxxxxxxxxxxxxx> <8ae7802505052309067d88f174@xxxxxxxxxxxxxx> <200505231116.16964.jdmason@xxxxxxxxxx> <8ae7802505052309362c2fb00e@xxxxxxxxxxxxxx> <32fa5a4ad70f86ee5637d30ffc890017@xxxxxxxxxxxx> <8ae780250505231255a0cea3b@xxxxxxxxxxxxxx> <42924738.9020106@xxxxxxxxxx>
Reply-to: bin.ren@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 5/23/05, Nivedita Singhvi <niv@xxxxxxxxxx> wrote:
> Bin Ren wrote:
> > 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.
> 
> Yeah, if you want to do anything network intensive, 128MB is just
> not enough - you really need more memory in your system.

I've given all the domains 256M memory and switched to netperf
TCP_STREAM (netperf -H server). almost no change. Details:

dom1->external: 420Mbps
dom1->dom0: 437Mbps
dom0->dom1: 200Mbps (!!!)
dom1->dom2: 327Mbps

>  
> > 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)
> 
> 
> iperf is a directional send test, correct?
> i.e. is dom1 -> dom0 perf the same as dom0 -> dom1 for you?

Please see above.

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