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

Re: [Xen-users] Snmp CpuRawIdle showing double?


  • To: "Fajar A. Nugraha" <list@xxxxxxxxx>
  • From: Nathan March <nathan@xxxxxx>
  • Date: Wed, 06 Oct 2010 14:44:05 -0700
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 08 Oct 2010 08:50:15 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gt.net; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type; q=dns; s=mail; b=IGaDvx8Vu3q016K80tiEQ3UquYt7PdrP xqETE/qU/dhW5GvCKoyTryqa26cF/7Q/a/4RM6FhiVEBiMv+WE1PUazl7eL2CIns jhSrikW5s2i1WNJvt2B9Dyee+5vSSborDF3ETpSZyPYFj0+rJe8wirICD5Y6N5ZO 8Q/MkxDyY+c=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Tried updating the VM to 2.6.32.24 and still happens. When I get a chance to update to the latest xen-unstable I'll test more.

- Nathan


On 10/5/2010 6:33 PM, Fajar A. Nugraha wrote:
On Wed, Oct 6, 2010 at 6:54 AM, Nathan March <nathan@xxxxxxxxxxxxxxxxxxxx> wrote:
 Having a strange issue where snmp polling a vm for the ssCpuRawIdle stats (and all the other raw cpu stats) shows up as double:

snmpwalk -v 2c -c 'XXXX' nathanxen1 1.3.6.1.4.1.2021.11.53 && sleep 60 && snmpwalk -v 2c -c 'XXXXXXX' nathanxen1 1.3.6.1.4.1.2021.11.53

UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 47631385
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 47643353

(47643353 - 47631385) / 6000 * 100 = 199%

Except that this VM has a single cpu. Polling regular machines works fine with this logic and returns the expected numbers.



My guess is that it's kernel issue. Are you running newer pv_ops kernel? If yes, you should ask to xen-devel. I've checked RHEL's kernel-xen and newer xenlinux kernel, both return the correct values.

-- 
Fajar
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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