I have found that xenoprof and xentop match. You have to convert the
samples to utilization. Xenoprof does not give util directly.
Formula:
[(global_power_event_samples)*sample after value]/sample time ==> will
give events/sec
Then divide this by the clock freq (cpu freq in cycles/sec) that will
give you the cpu util.
Global_power_events per sec / Cycles per sec = utilization
Hope this helps
Thanks
- Padma
-----Original Message-----
From: xen-devel-bounces@lists.xensource.com
[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Rob Gardner
Sent: Wednesday, July 12, 2006 1:04 PM
To: David Carr
Cc: xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] get CPU idle time?
David Carr wrote:> Whats the best way to get the CPU idle time on xen? I just want to
know> the idle time for the physical CPU. I''m getting differing results
between> xenoprof and xentop (modified to add up all the domains). Is there
> something I can trust?
Xenmon reports cpu idle time directly. Give it a try and see if it''s
trustworthy.
Rob
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel