From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: Calculating real cpu usage of Xen domains correctly! Date: Thu, 24 Feb 2005 17:01:58 -0600 Message-ID: <421E5CE6.5040109@us.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: John L Griffin Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org John L Griffin wrote: >However, I'm concerned that we're missing something bigger. This is my >understanding of what the BLOCKED flag (and the surrounding code) means: > > You may be correct here. The thing that leads me to believe that is the following. When I first start up domain-0, with no domain-U's running, the numbers for domain-0 seem right. Domain-0's usage jumps up to 100% after I create a domain-U. Once I've reached this point, it pretty much stays that way. It makes me think someone something's triggering this behavior. >Which makes me wonder if something is seriously misbehaving to cause the >weird CPU usage totals you're seeing -- like a yield()ed or block()ed > > Do you have any ideas (or anyone else for that matter) on how to approach this? I'm afraid the impact of putting printk's in there would be too great. How does one typically debug scheduler issues? I'm willing to spend some cycles looking into this. Regards, Anthony Liguori ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click