From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Gardner Subject: Re: CPU Utilization Date: Mon, 12 Dec 2005 14:10:53 -0700 Message-ID: <439DE75D.7080109@hp.com> References: <5440A5A36B8CED4B9F54524343CB6B68FD133F@xmb-rtp-215.amer.cisco.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0110532351==" Return-path: In-Reply-To: <5440A5A36B8CED4B9F54524343CB6B68FD133F@xmb-rtp-215.amer.cisco.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Dave Thompson (davetho)" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0110532351== Content-Type: multipart/alternative; boundary="------------040900050306090109000105" This is a multi-part message in MIME format. --------------040900050306090109000105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dave Thompson (davetho) wrote: > >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. > > > I think that 'top' shows system time spent on behalf of user processes. Dom0 has stuff going on in the kernel that has nothing to do with user processes. For instance, when you generate lan traffic to/from another domain, it causes the dom0 kernel to use a bunch of cpu time, and this may not show up using 'top'. That's my guess about what is happening. Rob --------------040900050306090109000105 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Dave Thompson (davetho) wrote:

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.
 
  

I think that 'top' shows system time spent on behalf of user processes. Dom0 has stuff going on in the kernel that has nothing to do with user processes. For instance, when you generate lan traffic to/from another domain, it causes the dom0 kernel to use a bunch of cpu time, and this may not show up using 'top'. That's my guess about what is happening.

Rob

--------------040900050306090109000105-- --===============0110532351== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0110532351==--