Re: [Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-11 Thread Jakov Sosic
On 12/07/2012 11:05 AM, Andrew Beresford wrote: How about creating a processorcorecount and processorthreadcount with correct meanings? That then leaves the option to deprecate processorcount. I've realised that at some point in the past I have created a processorthreadcount fact because I

Re: [Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-09 Thread Alex Harvey
On Friday, December 7, 2012 9:05:32 PM UTC+11, Andrew Beresford wrote: How about creating a processorcorecount and processorthreadcount with correct meanings? That then leaves the option to deprecate processorcount. I've realised that at some point in the past I have created a

Re: [Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-07 Thread Andrew Beresford
How about creating a processorcorecount and processorthreadcount with correct meanings? That then leaves the option to deprecate processorcount. I've realised that at some point in the past I have created a processorthreadcount fact because I needed a consistent source of this information on both

[Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-06 Thread Alex Harvey
I prefer the core count definition, but whatever it is, it should be consistent between Linux and Solaris. Yes it certainly should be the same on all platforms - the question is if we change it who is going to be impacted and how can we manage the change? I believe the vast majority of

[Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-05 Thread Andrew Beresford
Apologies, I re-read your post and understand what you mean. I prefer the core count definition, but whatever it is, it should be consistent between Linux and Solaris. Andrew On Wednesday, 5 December 2012 04:37:19 UTC, Alex Harvey wrote: On Monday, December 3, 2012 9:54:49 PM UTC+11,

[Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-04 Thread Alex Harvey
On Monday, December 3, 2012 9:54:49 PM UTC+11, Andrew Beresford wrote: Feature :) I do understand what the code is doing but question whether that's what it should be doing. While it's ultimately a matter of opinion, it violates the 'principle of least surprise' for me and also my

[Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-03 Thread Andrew Beresford
Feature :) This all comes down to the architecture of your processor. Your SPARC64-VII processors is a quad-core, two-way SMT processor. So, you have one physical CPU, four cores, and 8 threads. physicalprocessorcount is derived from the output of psrinfo -p and processorcount is derived

[Puppet Users] Re: Solaris processor count facts - bug or feature?

2012-12-02 Thread Alex Harvey
On Tuesday, November 20, 2012 12:02:21 PM UTC+11, Alex Harvey wrote: Hi all, This relates to a discussion we are having in the Redmine ticket https://projects.puppetlabs.com/issues/11612. I am extending the processorcount, physicalprocessorcount and processorX facts that exist for