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

[Xen-devel] Snmp cpuRawIdle showing double

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Snmp cpuRawIdle showing double
From: Nathan March <nathan@xxxxxx>
Date: Tue, 05 Apr 2011 14:10:16 -0700
Delivery-date: Tue, 05 Apr 2011 14:11:07 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=gt.net; h=message-id:date :from:mime-version:to:subject:content-type :content-transfer-encoding; s=mail; bh=HmA3wu4mJCyAWF7jvVo5KyoUS M8=; b=pJJ9yKv2Kzp7t6B2aTOMfCFq4bIC+0EyytYEyM2F+St2kXUw0otAh5vJw ug+Bi4bkdCES6skncFCWi5bZkaTW1F8oER6D+Inj45O6YysBNt1oMP8UeLTzqpDd Un5mQJJt10YBWkoNmGuEXsn806TChRxgU8G3oMJuIGjVdQbNxU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gt.net; h=message-id:date :from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=mail; b=kqwDKJ6D5yBZ/PBBj6E PBK0Op1c0EdMvJbrU3OrkUA0cbW7HLLbobqYexR03cfTToIMpMjzkF6VxpFkl5aO i5/LVQPF7WjBTklzFPbwaolbuSsrMexz+uM2IfJfQkghtgAMC/ttIVyUgL6NJ1Yy UMGNaUga/ZZdNkWn2DoiGSO4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
Posted this to xen-users back in Oct
(http://www.gossamer-threads.com/lists/xen/users/186768), but just
confirmed that I'm still seeing this behavior on 4.1.

Polling the UCE-SNMP-MIB::ssCpuRawIdle counter results in a total that's
double the actual number of cpu's on the system, so for example:

nms ~ # snmpwalk -v 2c -c 'XXX' xen1 1.3.6.1.4.1.2021.11.53 && sleep 60
&& snmpwalk -v 2c -c 'XXX' xen1 1.3.6.1.4.1.2021.11.53
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 1313274
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 1324862

(1324862 - 1313274) / 6000 * 100 = 193%

This is polling a dom0 restricted to 1 core using "dom0_max_vcpus=1
dom0_vcpus_pin=true", both proc/cpuinfo and top show only 1 core.

I also see the issue on the domU's, the domU's are running a stock
kernel which does not exhibit this behavior on physical hardware.

This is using stock xen 4.1 with the xen/stable-2.6.32.x kernel, using
net-snmp 5.4.3-r6. Anyone have any insight here or info on how I might
be able to debug this further? I'm not even sure where to look beyond this.

Thanks!

- Nathan

-- 
Nathan March <nathan@xxxxxx>
Gossamer Threads Inc. http://www.gossamer-threads.com/
Tel: (604) 687-5804 Fax: (604) 687-5806


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

<Prev in Thread] Current Thread [Next in Thread>