All of lore.kernel.org
 help / color / mirror / Atom feed
* Determining physical processors on SMT driven architectures
@ 2005-09-29  5:19 Anantha Kiran Kandukuri
  0 siblings, 0 replies; only message in thread
From: Anantha Kiran Kandukuri @ 2005-09-29  5:19 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 796 bytes --]

Hi,
Is there a programatical way of caliculating physical CPUs on IBM
SMT driven archtitural machines.

I am aware of commands of sort "lsdev -C -c processor" and "smtctl".
But is there any API to do same thing. I saw "processor_info"
strucutre in "/usr/include/sys/iplcb.h" contains information i am
looking for. Is there a way to access this.

Linux on IntelHT, stores this info in "/proc/cpuinfo" file. Similarly
AIX stores this info in "/dev/pmem" file. In KDB, "ipl" subcommand
actually parses file "/dev/pmem" to access "processor_info" strctures.
Can i simulate these KDB commands in a programatical fashion.

Atleast, are there "CPUID" sort of assembly instructions in AIX, so
that i can probe for actual number of CPUs.

Any help is appreciated.

Thanks
-Ananth
--

[-- Attachment #2: Type: text/html, Size: 1034 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-29  5:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-29  5:19 Determining physical processors on SMT driven architectures Anantha Kiran Kandukuri

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.