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] Xen, NFS performance, rsize, wsize and MTU

To: Richard Jones <rich@xxxxxxxxxxx>
Subject: Re: [Xen-users] Xen, NFS performance, rsize, wsize and MTU
From: Ceri Storey <cez@xxxxxxxxxxxxxxxx>
Date: Fri, 17 Feb 2006 20:34:00 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 20 Feb 2006 11:00:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060217144112.GA1009@xxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20060217144112.GA1009@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Fri, Feb 17, 2006 at 02:41:12PM +0000, Richard Jones wrote:
> We have a Xen 3.0 / Linux kernel 2.6.15 machine with the domU's
> configured for shared /home directories.  One of the domU's is an NFS
> server, exporting /home, and the other domU's all mount this.

> It all functions fine, but it's pretty slow.

> I tried untarring a recent Linux kernel tarball.  On the NFS server
> domU this takes about 25 seconds.  I didn't wait long enough to find
> out how long it was going to take on the NFS client domU's - I killed
> it after 15 minutes.

How many CPUs does this server have? If you've got a single CPU (sans
hyperthreading) machine then, there'll be the overhead of at least ~4 context
switches per request to deal with (the domU sends the initial request packet, 
which
is bridged / routed via dom0, which sends it to the NFS server domU,
and, then back agan). 

However, if you've a multiprocessor / hyperthreaded machine, then I'd
imagine performance would be significantly better, because then you'd be
able to, for example, have dom0 pinned to one CPU, and leave the domUs
to compete for the other CPU.

Unfortunately, I don't really have any numbers to back this up, as I've
not had a chance to play with Xen on anything but a single-threaded
machine. I'm sure others would be also able to advise, though.

Cheers.
-- 
Ceri Storey <cez@xxxxxxxxxxxxxxxx>
'What I really want is "apt-get smite"' 
    --Rob Partington <http://rjp.frottage.org>

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