xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Nathan March <nathan@gt.net>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Snmp cpuRawIdle showing double
Date: Tue, 05 Apr 2011 14:10:16 -0700	[thread overview]
Message-ID: <4D9B8538.8070908@gt.net> (raw)

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@gt.net>
Gossamer Threads Inc. http://www.gossamer-threads.com/
Tel: (604) 687-5804 Fax: (604) 687-5806

             reply	other threads:[~2011-04-05 21:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 21:10 Nathan March [this message]
2011-04-06 17:51 ` Snmp cpuRawIdle showing double Nathan March
2011-04-07 18:04   ` Nathan March

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D9B8538.8070908@gt.net \
    --to=nathan@gt.net \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).