|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
Re: [Xen-users] Snmp CpuRawIdle showing double?
 
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 
 |   
 
 | 
    | 
  
  
    |   | 
    |