[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] confusions on monitoring VM cpu usage in Xen hypervisor



On Thu, 20 Feb 2014 16:09:31 +0800
"Charles" <xiezhenjiang@xxxxxxxxxxx> wrote:

> Hi everyone, Iâm trying to monitor the VM CPU usage in xen hypervisor
> and use the VM CPU usage information in Xen's Credit Scheduler. I
> googled it, and find that most references about this topic is
> monitoring the VM CPU usage information in Domain-0 while not in the
> Xen hypervisor. I'm now blocking at how to determine the state of
> vCPU, My understanding is that vCPU running on a physical CPU doesn't
> mean it really consumes CPU cycles, so I could determine the whether
> vCPU is consuming CPU cycles or not? So could you please give me some
> advice.
> 
> Thank you very much!
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel


Checkout simple utility called 'xmstat' I wrote a while ago, you might 
find it useful as it will tell you how vcpus are bouncing around and 
consuming cpus:

http://old-list-archives.xenproject.org/archives/html/xen-devel/2010-08/msg01586.html

thanks
mukesh

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.