On Sat, May 11, 2013 at 12:23 PM, Alexander Hansen
<alexanderk.han...@gmail.com> wrote:
> On 5/11/13 9:07 AM, Bill Waggoner wrote:
>>
>> I have a new Mac Mini server with the following Hardware Overview:
>>
>>    Model Name:    Mac mini
>>    Model Identifier:    Macmini6,2
>>    Processor Name:    Intel Core i7
>>    Processor Speed:    2.3 GHz
>>    Number of Processors:    1
>>    Total Number of Cores:    4
>>    L2 Cache (per Core):    256 KB
>>    L3 Cache:    6 MB
>>    Memory:    4 GB
>>    Boot ROM Version:    MM61.0106.B03
>>    SMC Version (system):    2.8f0
>>    Serial Number (system):    C07[snip]WYN
>>    Hardware UUID:    E20F62[snip]70F2B
>>
>> This shows, as I believe, that I have one CPU and 4 cores and yet Fink
>> reports that I have 8 CPUs/Cores when I configure it.  Is it, perhaps,
>> counting Threads (or some such) instead of Cores?
>>
>> I do notice that when I run Activity Monitor and select Show CPU
>> History it does show 8 bars.
>>
>> I've set it to 4 in any case so it probably doesn't matter what Fink
>> thinks but I was just curious why the discrepancy ...
>>
>> Bill W
>>
>>
>
> fink uses "sysctl -n hw.activecpu" to get the number of active CPUs.  If
> that output isn't right, blame Apple.
>

I went poking around with sysctl and found:

hw.packages: 1
hw.physicalcpu: 4
hw.logicalcpu: 8
hw.activecpu: 8

Packages agrees with the number of processors I have and physicalcpu
agrees with the number of cores the processor has and I guess that
logicalcpu & activecpu is the total thread count.

I'll stick with 4 as that's plenty fast on this machine.

Thanks!

Bill W

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to