Issue #20348 has been updated by Alex Chamberlain. Status changed from Unreviewed to Needs More Information Assignee set to eric sorenson Keywords changed from facts.physicalprocessorcount dmidecode to facts.physicalprocessorcount dmidecode /proc/cpuinfo
Method Processor::enum_cpuinfo is parsing /proc/cpuinfo incorrectly in certain cases??? Not sure if this is specific to RHEL or would happen on any x86 Linux system. Needs further investigation. ---------------------------------------- Bug #20348: number of cpus (facts.physicalprocessorcount) on IBM systems is incorrect https://projects.puppetlabs.com/issues/20348#change-94565 * Author: Riaan van Niekerk * Status: Needs More Information * Priority: Normal * Assignee: eric sorenson * Category: * Target version: * Keywords: facts.physicalprocessorcount dmidecode /proc/cpuinfo * 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. For more options, visit https://groups.google.com/groups/opt_out.
