From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Gardner Subject: Re: CPU Utilization. Date: Thu, 06 Oct 2005 10:22:47 -0600 Message-ID: <43454F57.5060106@hp.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Preethi M Cc: xen-devel@lists.xensource.com, Xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Preethi M wrote: > I have a basic question. I would like to know the best way to find out > the CPU utilization in Xen. For example if i have a setup with Dom 0 > and Dom 1 and some partitions are exported to Dom 1. When i perform > IOs in Domain 1, since the actual disk device is under the control of > Domain 0, the backend driver will be responsible for the actual IO > operation completion. So it's obvious some amount of CPU will be > utilized in Domain 0. In this scenario, i would like to know what is > the best way to identify the consolidated CPU utilization both in > Domain 0 and Domian 1. Is there any tool available which does this? Pree, If you check back in the xen-devel archives, you'll find around late August I sent out a package called xenmon, which provides fairly fine-grained reporting of various metrics, including cpu utilization for each domain, and cumulative data over 1 second and 10 seconds. This tool can show some of what you are interested in. I am planning another release of xenmon "real soon now" that incorporates some improvements and bug fixes. Rob Gardner