Re: RFC about socket/cores numbers and HT info

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

 



On Thu, Jan 28, 2010 at 09:09:50AM -0500, 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
> > 
> Ok. I ran it again using sudo and this is the output:

I seem to have missed the earlier postings in this thread,... where can
I find a copy of this script?

TIA!

> 
> [john@slave1 ~]$ sudo ./count_cpu.sh
> Cpu Model: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
> Number of Sockets: 1
> Number of Cores per Socket: 2
> Number of CPUs seen by OS: 2
> Hyper-Threading: NO
> 
> Much better, IMO. :-)
> -- 
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

-- 
---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx -----------------------------
    "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
     heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux