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

Re: [Xen-users] Why the data got from "top" and "xentop" are different?

To: 徐飞 <kudofaye@xxxxxxxxx>
Subject: Re: [Xen-users] Why the data got from "top" and "xentop" are different?
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Wed, 31 Aug 2011 00:33:56 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 30 Aug 2011 21:35:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=A6rzkYP/mfHWqhfvj6e9g0MSZbWvF+GjeFJFUfm8s1M=; b=HaD0s6COENGPvJbVT5NULBKILIs3M619Kjw8TKHUX5XObxgIrZgLSdXBvAfMuLjNxe CixS64OUFuVcX5MGN7Z3SVr0fRgTcAsTPK/KFjh2hYreCJgPqggn2qQ8D9ggKJUgEEs4 xzYV9VchoZNiyK/M+sDdQpvP4dD6NI/KJ6hWg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAAXsm3g3nkg08oH7asYipqenJ+suSvcHpCi3TPHGjchK+i-fLQ@xxxxxxxxxxxxxx>
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>
References: <CAAXsm3g3nkg08oH7asYipqenJ+suSvcHpCi3TPHGjchK+i-fLQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Aug 30, 2011 at 9:14 AM, 徐飞 <kudofaye@xxxxxxxxx> wrote:
> Hi All,
>
> I'm a beginner in Xen. Recently I've configured one VM (vm03) hosted in my
> physical machine. I ran the "netperf" workload in the vm01, and used the
> "top" command in the vm03 to test the behavior of the running workload.
> Meanwhile, I also used the "xentop" command in domain0 to see the resource
> consumption in vm03. Interestingly, I found that the CPU usage data is
> extremely different with each other. The CPU usage data in "xentop" was
> 13.6%, while in "top" the data was only 1.0%.
>
> So why does this happen?
>

This is a common question:
http://lists.xensource.com/archives/html/xen-users/2008-10/msg00415.html

You may want to look into the profile tools for Xen if you need better
granularity.

See for example:

http://xenoprof.sourceforge.net/

Hope that helps.

Thanks,
Todd


-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

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

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