WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Calculating real cpu usage of Xen domains correctly!

To: John L Griffin <jlg@xxxxxxxxxx>
Subject: Re: [Xen-devel] Calculating real cpu usage of Xen domains correctly!
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Thu, 24 Feb 2005 17:01:58 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Feb 2005 14:48:09 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <OF1829CD84.19041768-ON85256FB2.0075A6CF-85256FB2.00779C0B@xxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: IBM
References: <OF1829CD84.19041768-ON85256FB2.0075A6CF-85256FB2.00779C0B@xxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel