Determining physical processors on SMT driven architectures
ananth.kandukuri_at_gmail.com
Date: 09/28/05
- Next message: Per L: "Re: NIS clinents hangs when nis server restarts."
- Previous message: mrkhairy_at_yahoo.com: "Re: Multiple sessions from same IP address"
- Next in thread: Dohhhh: "Re: Determining physical processors on SMT driven architectures"
- Reply: Dohhhh: "Re: Determining physical processors on SMT driven architectures"
- Reply: aix_at_mail.com: "Re: Determining physical processors on SMT driven architectures"
- Reply: sergeyt.17_at_gmail.com: "Re: Determining physical processors on SMT driven architectures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Sep 2005 00:26:03 -0700
Hi,
Is there programatical any 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
- Next message: Per L: "Re: NIS clinents hangs when nis server restarts."
- Previous message: mrkhairy_at_yahoo.com: "Re: Multiple sessions from same IP address"
- Next in thread: Dohhhh: "Re: Determining physical processors on SMT driven architectures"
- Reply: Dohhhh: "Re: Determining physical processors on SMT driven architectures"
- Reply: aix_at_mail.com: "Re: Determining physical processors on SMT driven architectures"
- Reply: sergeyt.17_at_gmail.com: "Re: Determining physical processors on SMT driven architectures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]