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] XEN - networking and performance

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] XEN - networking and performance
From: fpt stl <fptstl@xxxxxxxxx>
Date: Thu, 6 Oct 2011 12:43:57 -0500
Delivery-date: Thu, 06 Oct 2011 10:44:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=FhsbxXJhVE2GBuEGCihzHyrsv9J/kPh0h4ovK2+0g+Q=; b=HXOGmNdZvb6zI2K4Xpa3EF6t3inJAewfy0FLiHOGnClNBgj3ROoi6ojV/YVP1t4RvC k09z2/SA73xwJFeOzXo6THPbIoJQtXICjfnc28Wq23tFHM0AOf/D141OTnpcMX1a1Yos s9sUWtA7AsWJBMqq0T2zRtEvGWAVrwvNxNOI0=
Envelope-to: www-data@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/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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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