Re: RFC about socket/cores numbers and HT info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/28/2010 03:30 AM, John Aldrich wrote:
> On Thursday 28 January 2010, Gianluca Cecchi wrote:
>> Hello,
>> after digging around different systems (Fedora, RHEL) and mailing
>> lists suggestions I arrived at this script about identifying on a
>> system:
>> - number of sockets
>> - number of cores per socket
>> - number of logical processors (so computational units) seen by OS
>> - info about presence/enablement of HT if present
>>
>> I would like to share and ask 2 things:
>> a) what about the script accuracy?
>> Can you verify with your hw setup/config?
>> b) Do you think there is any way to enumerate the number of physical
>> sockets of a system based only on values in cpuinfo and not using
>> dmidecode command? I have a system (not under my control) that
>> collects nmon values only for many servers and I would like to be able
>> to get the number of sockets ion them based on this info...
>> In nmon output I find, other than the cpuinfo info, only something like
>> AAA,cpus,4,4
>> But it seems quite static where the two numerical values are identical.
>>
>> Thanks in advance,
>> Gianluca
>>
> Here's what I get on my Athlon 64 system:
> [[email protected] ~]$ ./count_cpu.sh
> /dev/mem: Permission denied
> Cpu Model: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
> Number of Sockets: 0
> Number of Cores per Socket: 2
> Number of CPUs seen by OS: 2
> Hyper-Threading: YES
>
> I think that the number of sockets is off... but I can't say how to fix it.

dmidecode failed ("/dev/mem: Permission denied"), so you can see how
many sockets there are.  I've run into that on occasion on some kernels
and hardware platforms.  Weird.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      [email protected] -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-  "Men occasionally stumble over the truth, but most of them pick"  -
-     themselves up and hurry off as if nothing had happened."       -
-                                  -- Winston Churchill              -
----------------------------------------------------------------------
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux