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/
Home Products Support Community News


[Xen-devel] [0/11] [NET]: Add TSO support for dom0=>domU

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [0/11] [NET]: Add TSO support for dom0=>domU
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 8 Jul 2006 00:16:34 +1000
Delivery-date: Fri, 07 Jul 2006 07:17:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
Hi Keir:

This series of patches adds SG and TSO support for the dom0=>domU
direction.  This completes the domU=>domU loop which means that we
have TSO all the way through.

It's a bit late here so I haven't done a full set of benchmarks.
However, these two figures should be indicative for domU=>domU:

TSO off:    323.91Mb/s
TSO on:    1678.52Mb/s
lo(16436): 5533.93Mb/s

Of course you'll need to turn the 2 #if's back on for domU=>dom0 to
do this.  I've also found out the reason I was getting smaller MSSes
before.  The default write buffer size is too small for these speeds
in Linux.  So you need to raise it by something like:

echo 526808 > /proc/sys/net/core/wmem_max
netperf -t TCP_STREAM -H x.x.x.x -- -s 263404

Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Xen-devel mailing list