xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* qemu cpu utility too high as dom0 cpu stealtime's also high
@ 2011-06-10 13:57 alice wan
  0 siblings, 0 replies; only message in thread
From: alice wan @ 2011-06-10 13:57 UTC (permalink / raw)
  To: xen-devel


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

hi all,

       when i started 10 windows vms of 4 vcpu on the host with 8 cpu, dom0
has 4 shareble vcpu, i found qemu-dm cpu utility is too high, about 80-90%,
lasting for more than half an hour. after a long period of time, the dom0
became normal.

        i observed that when qemu-dm %cpu's too high, the dom0 cpu's
stealtime was also too high.
        when dom0 became normal, %st  and qemu %cpu also became low.

        high stealtime is reasonable as the cpu is too busy, the time vcpu
wait for cpu scheduling  is too long.

        however, qemu high cpu utility is unreasonable,  the oprofile report
of qemu seems normal.

        I doubt the granularity of task cpu time accounting seems too rough.

        It seems that task cpu accounting didn't distinguish virtual cpu
time from cpu time so that  the qemu-dm cpu time = real cpu time+steal time

        Does the task cpu accounting is based on tick?

        the config about accounting 's like this:
        CONFIG_TASK_IO_ACCOUNTING=y
        # CONFIG_IRQ_TIME_ACCOUNTING is not set

        Should i turn on the CONFIG_IRQ_TIME_ACCOUNTING ?

        Any advice is appreciated, thanks in advance.

[-- Attachment #1.2: Type: text/html, Size: 1481 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] only message in thread

only message in thread, other threads:[~2011-06-10 13:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-10 13:57 qemu cpu utility too high as dom0 cpu stealtime's also high alice wan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).