[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.