Issue #19249 has been updated by ghislain -. Keywords set to processorcount bug Affected Facter version changed from 1.6.9 to 1.7.3
hi, i have exactly the same bahvior: physicalprocessorcount => 1 processor0 => Intel(R) Xeon(R) CPU E5420 @ 2.50GHz processor5 => Intel(R) Xeon(R) CPU E5420 @ 2.50GHz processor6 => Intel(R) Xeon(R) CPU E5420 @ 2.50GHz processor7 => Intel(R) Xeon(R) CPU E5420 @ 2.50GHz processorcount => 8 processorcount is highest processor number+1 that do not reflect the real number of processors active. I see the ticket is in 'need more information' but really all is there what is missing for the bug to be accdepted ? regards, ghislain. ---------------------------------------- Bug #19249: number of cpus (facts.processorcount) is incorrect https://projects.puppetlabs.com/issues/19249#change-100121 * Author: Lance Dillon * Status: Needs More Information * Priority: Normal * Assignee: * Category: * Target version: * Keywords: processorcount bug * Branch: https://github.com/puppetlabs/facter/pull/437 * Affected Facter version: 1.7.3 ---------------------------------------- Facter is counting number of processors incorrectly. It appears to be taking the highest number of processor and adding 1 (for 0 based counting). On some architectures, some memory is only accessible through a specific socket, so you need to have at least one core per socket, so disabling processors isn't done from the end, but in a round-robin fashion. We have a machine that has processors 0,1,2, 10,11,12, 20,21,22, 30,31,32 active, others disabled, but facter reports 33 processors by adding 1 to the last processor 32. It should actually count all the processors to get an accurate number, in this case 12. Occurring on at least facter version 1.6.9. -- 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.
