Identifying processors
Symmetric multiprocessor (SMP) machines have one or more CPU boards, each of which can accommodate two processors.
For example, a four-processor machine has two CPU boards, each having two processors. Commands, subroutines, or messages that refer to processors must use an identification scheme. Processors are identified by physical and logical numbers, and by Object Data Manager (ODM) processor names and location codes.
ODM processor names
ODM is a system used to identify various parts throughout a machine, including bus adapters, peripheral devices such as printers or terminals, disks, memory boards, and processor boards.
ODM assigns numbers to processor boards and processors in order, starting from 0 (zero), and creates names based on these numbers by adding a prefix cpucard or proc. Thus, the first processor board is called cpucard0, and the second processor on it is called proc1.
Code | Description |
---|---|
AA | Always 00. It indicates the main unit. |
BB | Indicates the processor board number. It can be 0P, 0Q, 0R, or 0S, indicating respectively the first, second, third or fourth processor card. |
CC | Always 00. |
DD | Indicates the processor position on the processor board. It can be 00 or 01. |
Logical processor numbers
Processors can also be identified using logical numbers, which start with 0 (zero). Only enabled processors have a logical number.
The logical processor number 0 (zero) identifies the first physical processor in the enabled state; the logical processor number 1 (one) identifies the second enabled physical processor, and so on. Generally, all operating system commands and library subroutines use logical numbers to identify processors.
ODM processor states
If a processor functions correctly, it can be enabled or disabled using a software command. A processor is marked faulty if it has a detected hardware problem. ODM classifies processors using the following states:
State | Description |
---|---|
enabled | Processor works and can be used by AIX. |
disabled | Processor works, but cannot be used by AIX. |
faulty | Processor does not work (a hardware fault was detected). |