Issue #20348 has been updated by Hailee Kenney.

Affected Facter version changed from 1.6.18 to 1.7.0

----------------------------------------
Bug #20348: number of cpus (facts.physicalprocessorcount) on IBM systems is 
incorrect
https://projects.puppetlabs.com/issues/20348#change-90818

* Author: Riaan van Niekerk
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Keywords: facts.physicalprocessorcount
dmidecode
* Branch: 
* Affected Facter version: 1.7.0
----------------------------------------
(I double-checked and my issue is different from 
https://projects.puppetlabs.com/issues/19249 )

On a IBM 3850 M2 / x3950 M2 -[72334RG]-
CPUs: 2x quad-core
RHEL 5.9 x86_64

facter misreports the number of physical CPUs (e.g. populated sockets)

[root@ebprodirec01:/root]# facter |grep proc
physicalprocessorcount => 8
processor0 => Intel(R) Xeon(R) CPU           E7440  @ 2.40GHz
processor1 => Intel(R) Xeon(R) CPU           E7440  @ 2.40GHz
processor2 => Intel(R) Xeon(R) CPU           E7440  @ 2.40GHz
processor3 => Intel(R) Xeon(R) CPU           E7440  @ 2.40GHz
processor4 => Intel(R) Xeon(R) CPU           E7440  @ 2.40GHz
processor5 => Intel(R) Xeon(R) CPU           E7440  @ 2.40GHz
processor6 => Intel(R) Xeon(R) CPU           E7440  @ 2.40GHz
processor7 => Intel(R) Xeon(R) CPU           E7440  @ 2.40GHz
processorcount => 8

Each CPU core is assigned a physical ID
[root@ebprodirec01:/root]# grep "physical id" /proc/cpuinfo 
physical id     : 0
physical id     : 1
physical id     : 2
physical id     : 3
physical id     : 4
physical id     : 5
physical id     : 6
physical id     : 7


This system has 4 sockets, 2 of which are populated, which is shown correctly 
by dmidecode:
[root@ebprodirec01:/root]# dmidecode | grep -i populated
        Status: Unpopulated
        Status: Populated, Enabled
        Status: Populated, Enabled
        Status: Unpopulated



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to