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-devel

RE: [Xen-devel] CPU Utilization

To: "Rob Gardner" <rob.gardner@xxxxxx>
Subject: RE: [Xen-devel] CPU Utilization
From: "Dave Thompson \(davetho\)" <davetho@xxxxxxxxx>
Date: Mon, 12 Dec 2005 14:41:50 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 12 Dec 2005 19:43:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcX/UY5xjYEKHeb/TWKLGpLCCHP3ogAAYvtg
Thread-topic: [Xen-devel] CPU Utilization
 

> -----Original Message-----
> From: Rob Gardner [mailto:rob.gardner@xxxxxx] 
> Sent: Monday, December 12, 2005 1:23 PM
> To: Dave Thompson (davetho)
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] CPU Utilization
> 
> Dave Thompson (davetho) wrote:
> 
> >I have a question concerning the CPU utilization number provided by
> >the 'xm top' command in xen 3.0.  I've noticed that if I run a TCP
> >performance tool on domain 0 which simply receives and echos back
> >a TCP stream, the output of 'xm top' during the test does not match
> >up with the output of 'top' on domain 0 in terms of CPU utilization
> >(nor with the CPU utilization computed by the test program).
> >
> >...
> >
> >Any idea why these displays disagree?
> >  
> >
> 
> Top shows cpu usage for user processes in dom0, while xm top 
> shows cpu usage for the domain, which includes cpu time spent
> in the dom0 kernel.

Doesn't top's CPU summary line show both?  I thought us=user space,
sy=system, ni=nice, id=idle, hi=hwintr, si=softintr.  So in my
example 1% in user space, 7.3% in system level, 3.3% in h/w intr,
and 15% in soft intr.  Total of 26.6% utilized of which 25.6% is
in kernel.
 
> Perhaps the thing you're running incurs lots of kernel cpu 
> time, but not 
> user time?
> 
> Rob
> 

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

<Prev in Thread] Current Thread [Next in Thread>