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


Re: [Xen-devel] Xen cluster n/w performance (again!)

To: Diwaker Gupta <diwakergupta@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Xen cluster n/w performance (again!)
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sun, 21 Nov 2004 20:10:11 +0000
Delivery-date: Sun, 21 Nov 2004 20:14:00 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Your message of "Sun, 21 Nov 2004 10:52:38 GMT." <E1CVpKh-0006kx-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> > Hey everyone,
> > 
> > A few weeks back there was some discussion on Xen's I/O performance in
> > clusters on the list. I did some experiments today myself using iperf
> > (not ttcp):
> > 
> > o Xen dom0 talking to another machine in the cluster running native
> > linux: b/w around 904Mbps, thats nice :)
> > 
> > o Xen VM (running on the same machine as the dom0 in the previous
> > experiment) talking to another machine running native linux (again,
> > same as in previous experiment) only achieves 128 Mbps
> > 
> > I read on the list that you folks at Cambridge got upto 800+ Mbps
> > across VMs? Did you guys do any special optimizations or set any
> > special parameters? I read something about socket buffer size?

One thing you might want to try is to change a line in the file
#define RX_MIN_TARGET 8

One possibility is that dynamic buffer sizing is dropping some packets
and causing TCP to crap itself.

If this improves things then I'll have to be much more careful about
shrinking the buffers, and/or add a config option to disable the
resizing completely. 

 -- Keir

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
Xen-devel mailing list