From: Anthony Liguori <aliguori@us.ibm.com>
To: "Dave Thompson (davetho)" <davetho@cisco.com>
Cc: xen-devel@lists.xensource.com, Rob Gardner <rob.gardner@hp.com>
Subject: Re: CPU Utilization
Date: Mon, 12 Dec 2005 17:01:24 -0600 [thread overview]
Message-ID: <439E0144.6020107@us.ibm.com> (raw)
In-Reply-To: <5440A5A36B8CED4B9F54524343CB6B68FD133F@xmb-rtp-215.amer.cisco.com>
top isn't smart enough to realize that for a portion of the running
time, a domain has been pre-empted out and is not running.
top will then charge whatever was running at pre-emption time for the
time that other domain running.
Regards,
Anthony Liguori
Dave Thompson (davetho) wrote:
>
>
>
>
>>-----Original Message-----
>>From: Rob Gardner [mailto:rob.gardner@hp.com]
>>Sent: Monday, December 12, 2005 1:23 PM
>>To: Dave Thompson (davetho)
>>Cc: xen-devel@lists.xensource.com
>>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@lists.xensource.com
>http://lists.xensource.com/xen-devel
>
>
>
next prev parent reply other threads:[~2005-12-12 23:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-12 19:41 CPU Utilization Dave Thompson (davetho)
2005-12-12 21:10 ` Rob Gardner
2005-12-12 23:01 ` Anthony Liguori [this message]
2005-12-13 13:41 ` Rik van Riel
-- strict thread matches above, loose matches on Subject: below --
2020-07-24 17:05 CPU utilization Vijay Khemka
2005-12-13 14:15 CPU Utilization Dave Thompson (davetho)
2005-12-13 15:35 ` Andrew Theurer
2005-12-12 23:19 Dave Thompson (davetho)
2005-12-13 3:23 ` Andrew Theurer
2005-12-12 19:07 Dave Thompson (davetho)
2005-12-12 19:23 ` Rob Gardner
2005-10-04 23:59 Preethi M
2005-10-06 16:22 ` Rob Gardner
2005-05-01 13:51 CPU utilization Brian Hays
2005-05-01 17:14 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=439E0144.6020107@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=davetho@cisco.com \
--cc=rob.gardner@hp.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.