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-users

Re: [Xen-users] Good unidirectional TCP performance, weird asymetric per

To: "Dr. Volker Jaenisch" <volker.jaenisch@xxxxxxxxx>
Subject: Re: [Xen-users] Good unidirectional TCP performance, weird asymetric performance going bidirectional
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 22 Sep 2008 11:11:37 +0300
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 22 Sep 2008 01:12:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <48D6C3FC.3090100@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <48D6C3FC.3090100@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Mon, Sep 22, 2008 at 12:00:28AM +0200, Dr. Volker Jaenisch wrote:
> Hi Xen-Users!
> 
> After several hours of tuning and testing I stuck with a serious
> performance degration
> doing bidirectional tcp networking between dom0 to domU as well as domU
> to domU.
> 
> Overview:
> =======
> dom0 to domU:
> -------------------------
> unidirectional :
> dom0 -> domU : 578 Mbits/sec
> dom0 <- domU : 1.22 Gbits/sec
> Cool isnt it?
> 
> bidirectional:
> dom0 <=> domU: 
> dom0 -> domU : 1.22 Gbits/sec
> dom0 <- domU  : 38.2 Mbits/sec
> 
> Ups! But things it can become worse...
> 
> domU1 to domU2:
> ------------------------------
> unidirectional:
> domU1 -> domU2 : 410,2 Mbits/sec
> domU1 <- domU2  : 378.1 Mbits/sec
> Can easily live with that.
> 
> bidirectional:
> domU1 <=> domU2 : 
> domU1 -> domU2 : 42,3 Mbits/sec
> domU1 <- domU2  : 38.2 Mbits/sec
> But what is that?
> 
> Some problems looking similiar to that have been discussed in postings
> in this list and elsewhere. I have read lots of them.
> But none of the mentioned solutions (TCP-tuning, ethtool tweaking, etc)
> have helped to get rid of this behavior.
> May be I missed something.
> 
> This behavior is reproducable with xen 3.1, xen 3.2 on two different
> machines.
> 
> * May anybody confirm this findings?
> * Anybody an idea?
> 

Have you tried changing the vif* interface txqueuelen in dom? I'm wondering
if that would help..

"ifconfig vifX.Y txqueuelen 256" or even bigger value.. default value of 64
isn't too much..

-- Pasi

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