All of lore.kernel.org
 help / color / mirror / Atom feed
* xentop CPU% wrong?
@ 2005-09-08 15:59 Bonnell, David
  2005-09-12  0:21 ` Josh Triplett
  0 siblings, 1 reply; 2+ messages in thread
From: Bonnell, David @ 2005-09-08 15:59 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 776 bytes --]

Hello,
 
I noticed that the CPU% reported by xentop appears to be too high.  With
dom0 idle xentop is reporting between 14-17% CPU utilization while at
the same time top in dom0 is reporting 1-4% CPU utilization.  I see that
the TODO for xentop includes a task to make CPU% more accurate but
looking at the code for xentop and libxenstat I'm not sure how to go
about this.  Assuming the CPU cycle data reported by Xen is fairly
accurate then the only scope I can see for error in xentop is the
calculation of elapsed time between samples, which may be improved by
having libxenstat record the timestamp of each Xen hypercall it makes to
collect stats and using those in xentop.
 
Does anyone else have any ideas why the CPU% could be so inaccurate?
 
 
-Dave

[-- Attachment #1.2: Type: text/html, Size: 8753 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-12  0:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-08 15:59 xentop CPU% wrong? Bonnell, David
2005-09-12  0:21 ` Josh Triplett

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.