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-users

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

To: "Fajar A. Nugraha" <list@xxxxxxxxx>
Subject: Re: [Xen-users] Snmp CpuRawIdle showing double?
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
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=gt.net; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type; s=mail; bh=iP6f36zlQV5q8bVyaiQlprp/Q6g=; b=MXe/M8 Rsk1J/H9J2QfuyfAExFNT/OEXuVcwm8huVrbKKJBidxjxpTd2QuuiSZauTTvT9wT APrUHXxCEgADB2XgRsBsXmdT8HXI8bGFsHiHBNzO/EGGReyrmY8lJAtM6BVwOFZ8 GHvogBfXn6SF7iBEhTFgtr2B9rkiSENNXDeB0=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin6Lg6Tu+XDAXJFLSWganafm6BA+21=a5fOF1oX@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4CABBABB.8090902@xxxxxxxxxxxxxxxxxxxx> <AANLkTin6Lg6Tu+XDAXJFLSWganafm6BA+21=a5fOF1oX@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
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
<Prev in Thread] Current Thread [Next in Thread>