xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: MaoXiaoyun <tinnycloud@hotmail.com>
Cc: george.dunlap@eu.citrix.com, xen devel <xen-devel@lists.xensource.com>
Subject: Re: Too much VCPUS makes domU high CPU utiliazation
Date: Wed, 18 May 2011 12:39:50 -0400	[thread overview]
Message-ID: <20110518163950.GA20543@dumpdata.com> (raw)
In-Reply-To: <blu157-w3926296290D038E14CB39ADA8F0@phx.gbl>

On Thu, May 19, 2011 at 12:19:11AM +0800, MaoXiaoyun wrote:
> 
> HI: 
>  
>      I have a host with 16 physical CPUS. Dom0 has 4 VCPUS.
>  
>     When only start a domU-A(windows 2003 x86 64rc 2) with 16 VCPUS, it starts quickly and eveything is fine.
>  
>      But if I first start domU-B, which has 2VCPUS, domU-C 4VCPUS, and domU-D 8 VCPUS,  later I start DomUA again,
> (so we have total 34 VCPUS, plus dom0), it will takes very long time for domU-A to start ,and during the start, its CPU
> utilizaiton is around 800% from xm top, after its start, it response very slow in VNC, ans CPU utiliazation keeps high.
> And right after I destoy other 3 domUs, domUA CPU drops to normal.

You might be missing some patches for the Dom0 irq round-robin code. Is your Dom0 2.6.32 pvops?
Look for these patches in your git log:
  xen: events: Remove redundant clear of l2i at end of round-robin loop
      xen: events: Make round-robin scan fairer by snapshotting each l2 word once only
      xen: events: Clean up round-robin evtchn scan.
      xen: events: Make last processed event channel a per-cpu variable.
      xen: events: Process event channels notifications in round-robin order.

>  
>    It might relate to CPU schedule, btw, my xen is 4.0.1.
>  
>   Any comments? 
>  
>       		 	   		  

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

  reply	other threads:[~2011-05-18 16:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BAY0-MC1-F215criL7a002cc34e@bay0-mc1-f21.Bay0.hotmail.com>
2011-05-18 16:19 ` Too much VCPUS makes domU high CPU utiliazation MaoXiaoyun
2011-05-18 16:39   ` Konrad Rzeszutek Wilk [this message]
2011-05-19  2:35     ` MaoXiaoyun
2011-05-19  3:39   ` Tian, Kevin
2011-05-19 16:23     ` MaoXiaoyun
2011-05-19 23:29       ` Tian, Kevin
2011-05-20 15:51         ` MaoXiaoyun
2011-05-22  2:05           ` Tian, Kevin
2011-05-21  3:43         ` MaoXiaoyun
2011-05-22  2:13           ` Tian, Kevin
2011-05-22  7:45             ` MaoXiaoyun
2011-05-24 11:26               ` Tian, Kevin
2011-05-19 16:21   ` George Dunlap
2011-05-19 16:29     ` MaoXiaoyun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110518163950.GA20543@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=tinnycloud@hotmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).