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

[Xen-users] Re: XEN - networking and performance

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: XEN - networking and performance
From: fpt stl <fptstl@xxxxxxxxx>
Date: Fri, 7 Oct 2011 13:17:52 -0500
Delivery-date: Fri, 07 Oct 2011 11:18:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=zS9Y9H0XqktH5ORXIZGu2eCXfs5N+3wOAUhsrWBnWu8=; b=scKuM1OV3/L/szLOc3FnTGuBkJ+f/SO8Bux99iOg7JcX746v3z1sDyvlDyStMymKeA 9s3ax45Ru7yYEkZH798slkHPreN4CleZrjBWuRXpW4O4b9uhICgppN132WJVIQ/7Eyp7 amJlNCxcuGg9Px+3cbifp1mhRgMpcJV8HEhSs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAHsh07tm73Mb5VA6ye3uiwOVnhswbm-YUda=Ac139iOueavQMg@xxxxxxxxxxxxxx>
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: <CAHsh07tm73Mb5VA6ye3uiwOVnhswbm-YUda=Ac139iOueavQMg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Unfortunately, at this point I cannot reconfigure the host's storage. But what would be the course of action taking in consideration the exiting storage configuration? Any tips to improve performance? 50 minutes for 8GB is rather slooooow.

And on my networking question, does anybody have anything to comment? Maybe some successful pciback hide solutions for Centos 5.5...

Thanks,

Frank

On Thu, Oct 6, 2011 at 12:43 PM, fpt stl <fptstl@xxxxxxxxx> wrote:
Greetings all,

I would like some advice from people how are/were using  Xen 3.4.2 - it should be a rather stable release.
Dom0 is CentOS 5.5 64bit with Xen 3.4.2 installed with the default settings (minus cpu pinning to Dom0 and memory setup for 2GB).
There are 2 built-in nics (Broadcom) and an add-on network card (Intel) with another 4 nics.
Currently only one NIC is used for all network access, and as far as networking, the default setings are used - xend-config.sxp:
(network-script network-bridge)
(vif-script vif-bridge)

The questions are:

How can I improve the network performance (now all the VM are sharing one bridge):

a. creating multiple bridges and assigning a VM (DomU) per bridge
b. trying to hide the NICs from Dom0 using something like "pciback hide" - (pointers/example of how one would do this in Centos 5.5 would be highly appreciated...)


Also, I have noticed that sometimes - somehow erratical since I can not replicate - it seems that VMs are timing out: while editing in vi it does not respond anymore.
Nothing in the logs, of course. And no indication in top either. Also, copying 8 GB of data from one disk to another takes 50 (fifty) minutes !!! - both LVMs attached
separately to the DomU as two independent volumes [xvda - /dev/mapper/VG1-VM1 and xvdb - /dev/mapper/VG2-VM1_home].

Would it be recommended to have all the storage in one block device - one xvda only - which will have its own LVM structure opposed to multiple xvd's?

Any suggestions on improving the performance in accessing block devices?

I am somehow baffled since I have read that XEN is used by ISPs which probably host tens of DomUs on a host machine, and I am struggling to host 7 VMs on a dual quad Xenon box with 48 GB RAM and 3TB RAID5 15K disk storage!

Please be gentle since I am rather new to XEN.

Thanks,

Frank


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