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] Linux DomU vs Bare Metal performance issues

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Linux DomU vs Bare Metal performance issues
From: Mark Watts <m.watts@xxxxxxxxxxxxxxxxx>
Date: Fri, 03 Dec 2010 19:40:23 +0000
Delivery-date: Fri, 03 Dec 2010 11:41:30 -0800
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=linux-corner.info; s=default; t=1291405199; bh=sGs41YaBaCpcTkfcjQk/7WXKn6eAbf3CVE4em4mgy2A=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=jraVMoo+Xlaze4O4Jy6hpNJLOcNHG4BXjql7jvEu1bC+L6plwOnasfYNjxatBdQ3D qVC/AvkB9MH+V5tZb99ZyxSpJ+ss+TFrOvGSWoOuiTkyUay/dGsgLFH5LwYyReGSc8 sIi5CqbH8nqYVKeEZUgxn5Oh9G5r9GP6I8A5dJIc=
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
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi, I'm trying to diagnose a reasonably large performance drop between
two ostensibly similar servers; one running CentOS 5.5 on bare metal,
the other running Fedora 14 as a Xen DomU under CentOS 5.5 (Xen
3.1.2-194.26.1.el5)

I have a pair of older Dell PowerEdge 1750 servers, each with 4GB ram
and 2x 2.4GHz Xeon CPU's with HyperThreading enabled. CPU's do not
support any VT. Disks are 3x U320 10k SCSI disks in software RAID-5.
Both servers are connected to a Cisco 2950 100Mbit switch

Server A is running kernel-2.6.18-194.26.1.el5

Server B is running kernel-xen-2.6.18-194.26.1.el5.
Dom0 is pinned to one CPU, with 512MB ram.
I have one DomU;
- - B1 - Fedora 14 allocated the remaining 3 CPU's and 3400MB ram.

I have Apache httpd installed on Server A and B1. Both instances are
running the same configuration based on mpm-worker and supporting
keep-alives.

I have a third box, also Dual-Xeon/HT from which I'm running the ab
benchmark; ab -c40 -n100000 -k http://<ip>/index.html
The index.html file simply contains the hostname of the server, so
should be cached once read.

iperf reports a healthy 95Mbit in each direction between the Client and
DomU.

Server A can support around 10,200 requests/second.
The DomU only reaches a maximum of 3,800 requests/second.

During the test, xentop reports no disk activity but CPU usage going up
to 300%; consistent with 3 CPU's.


Can anyone shed any light on why I see such a drop in performance
between these two servers? I could understand, to an extent, seeing the
DomU getting 3/4 of the performance of the bare metal server given it
has one CPU less, but this is less than 1/2 the performance.

Regards,

Mark.

- -- 
Mark Watts, BSc RHCE
http://www.linux-corner.info/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJM+UemAAoJEA67+nBFe32moeoH+QEijJ7oZwQ8LXxTu+8bLiPm
73tGFOfnvCsqnijWbH0Y8f2VUoId684r7IcXVyNYvbK4JaUvKkHrXdAWknyO8RD2
HFx3HjMC/J7RjzBEtporD/x/VfRMNO9Nsp7zycIs4rRhI+2lUuJha98V+ium9uYS
RrifrSCnw87haFwipPtwsOsIOS/IkWW6vX9ZJFqvQTNhE2j1e56dj3CUv18oIwZK
MzJa0/ucZyWi9kaIK3D70D72gGC1g7Oaeg3gB9NSfhVJTMX+ekNOGL+J4APluAs5
/R2lx94hfbcTI7m2FuerF1sRrBZ/7iMfb7HXpy25NiuowhFq6brBXzPgEteI4Zg=
=R49C
-----END PGP SIGNATURE-----

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