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] Performance Issues: I/O Wait

To: "XEN Mailing List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Performance Issues: I/O Wait
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Thu, 18 Oct 2007 11:05:22 -0600
Delivery-date: Thu, 18 Oct 2007 10:06:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Hey, everyone,

I'm having some issues with a Xen DomU right related to performance.  We have an application that cross-compiles a Linux distribution from scratch for embedded systems.  We're attempting to run this application inside a Xen DomU (paravirtualized, modified guest kernel), and the performance is really bad.  The culprit seems to be high I/O wait times related to the network interface.


The host machine is a Dell PowerEdge 1950 with 2 x Dual-Core Xeon processors (Xeon 5150 @ 2.66GHz, 1333 FSB).  The domU is configured with 2 vCPUs and 1GB of RAM.  The Dom0 O/S is SuSE Linux Enterprise Server 10, and the DomU O/S is CentOS4U5.  For comparison, we're comparing against a physical machine that has a Pentium 4 3.2GHz processor on an 800MGz FSB with 4GB of RAM.  The RAM does not seem to be an issue - on the DomU, about half of the 1024MB is used by active processes and the other half is left to buffering and caching.  There are 4 kbytes of memory used on the swap partition.  Building these Linux distributions on the physical system takes 70-80 minutes (real time) - on the DomU system it takes 130-140 minutes.


The few times that I've see the system "lock up" the way the engineers who are using it claim it is doing, one of the DomU vCPUs goes to 100% wait for 20-30 seconds.  This seems to coincide with network operations in the DomU.  So, I'm wondering, what can I do to improve network performance and eliminate these I/O wait times on this CPU.  The server itself doesn't seem to be having any problems - while this occurs in the DomU, other physical systems can access the server just fine without any issues.  Any light that anyone can shed on the situation - how I can improve network performance and eliminate these I/O waits - would be most appreciated.  Here's the network config line from my Xen configuration file:


vif=[ 'mac=00:16:3e:75:0d:be,bridge=xenbr108', ]


And I found a suggestion for traffic control in the guest that I applied - maybe I did something wrong there, too.  Here's the output from tc qdisc show:

qdisc tbf 8001: dev eth0 rate 50Mbit burst 50Kb lat 20.0ms


Thanks,

Nick

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Performance Issues: I/O Wait, Nick Couchman <=