From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: e63b27eb52,f19613495899e6db X-Google-Attributes: gide63b27eb52,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!j39g2000yqh.googlegroups.com!not-for-mail From: sjm Newsgroups: comp.sys.hp.hpux,comp.unix.aix,comp.unix.tru64 Subject: Re: Determine number of CPUs Date: Thu, 15 Oct 2009 06:59:37 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0d6fd7de-fb03-44ef-9fea-d60a38c594f8@j39g2000yqh.googlegroups.com> References: <4ad5a2ed@212.67.96.135> NNTP-Posting-Host: 195.212.29.67 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1255615177 24339 127.0.0.1 (15 Oct 2009 13:59:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 15 Oct 2009 13:59:37 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j39g2000yqh.googlegroups.com; posting-host=195.212.29.67; posting-account=QFXnFAoAAABevHVrsqMRP1zOZ-0Xs5cW User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.sys.hp.hpux:1321 comp.unix.aix:3676 comp.unix.tru64:116 On 14 Oct, 11:07, Dave wrote: > 3) It gives the number of physical CPUs, rather than cores. Well it all depends what *you* define as a "physical CPU" and what you are trying to achieve by that definition. In particular, IBM and Intel offer conflicting definitions of what is a CHIP, a CPU, a PROCESSOR and a CORE. Intel mainly make chips (as well as other stuff), so they refer to these CHIPS as PROCESSORS, even if they have multiple CORES. IBM mainly make systems (as well as other stuff) so they refer to CORES as PROCESSORS, even if there is more than one PROCESSOR per CHIP. And then you have to add that contemporary IBM chips like POWER5 can have more than one THREAD per CORE, and more than one CORE per CHIP, and more than one CHIP per SOCKET. So what was it that you wanted to know?