I have problem with counting physical cores and LPAR cores on AIX 6.1 server. I found all cmds, which I need to determine those facts, but I can't get into conclusion.
First of all, I've tried to get how many physical CPU chips and cores is on host:
lsdev -C -c processor -S a - Output:
proc0 Available 00-00 Processor
prtconf - part of the output:
System Model: IBM,9117-MMB Machine Serial Number: XXXXXXXX Processor Type: PowerPC_POWER7 Processor Implementation Mode: POWER 7 Processor Version: PV_7_Compat Number Of Processors: 1 Processor Clock Speed: 3108 MHz CPU Type: 64-bit Kernel Type: 64-bit LPAR Info: 61 XXXXXXX Memory Size: 16384 MB Good Memory Size: 16384 MB Platform Firmware level: AM730_066 Firmware Version: IBM,AM730_066 Console Login: enable Auto Restart: true Full Core: true
*bindprocessor -q *- Output:
The available processors are: 0 1 2 3
lscfg -vp|grep WAY - Output:
8-WAY PROC CUOD: 8-WAY PROC CUOD: 8-WAY PROC CUOD: 8-WAY PROC CUOD: 8-WAY PROC CUOD: 8-WAY PROC CUOD: 8-WAY PROC CUOD: 8-WAY PROC CUOD:
lparstat -i - Output:
Node Name : XXXXXXXXX Partition Name : XXXXXXXXX Partition Number : 61 Type : Shared-SMT-4 Mode : Uncapped Entitled Capacity : 0.30 Partition Group-ID : 32829 Shared Pool ID : 5 Online Virtual CPUs : 1 Maximum Virtual CPUs : 1 Minimum Virtual CPUs : 1 Online Memory : 16384 MB Maximum Memory : 16384 MB Minimum Memory : 16384 MB Variable Capacity Weight : 128 Minimum Capacity : 0.20 Maximum Capacity : 1.00 Capacity Increment : 0.01 Maximum Physical CPUs in system : 64 Active Physical CPUs in system : 64 Active CPUs in Pool : 2 Shared Physical CPUs in system : 64 Maximum Capacity of Pool : 200 Entitled Capacity of Pool : 130 Unallocated Capacity : 0.00 Physical CPU Percentage : 30.00% Unallocated Weight : 0 Memory Mode : Dedicated Total I/O Memory Entitlement : - Variable Memory Capacity Weight : - Memory Pool ID : - Physical Memory in the Pool : - Hypervisor Page Size : - Unallocated Variable Memory Capacity Weight: - Unallocated I/O Memory entitlement : - Memory Group ID of LPAR : - Desired Virtual CPUs : 1 Desired Memory : 16384 MB Desired Variable Capacity Weight : 128 Desired Capacity : 0.30 Target Memory Expansion Factor : - Target Memory Expansion Size : - Power Saving Mode : Disabled
I assume that server has one physical CPU with one (on POWER7 it is impossible I think...) physical core. Output from "bindprocessor" makes me confused... It shows 4 proc, based on Shared-SMT-4? On the other hand output from "lscfg" shows 8 CPU, each has 8 cores (8*8 gives 64 - sth like that got in "lparstat - Active Physical CPUs in system" I assume that those are virtual cores from shared resources (managed by HMC), am I right? I'm looking for some correlation to understand all of that. I know that directive:Shared-SMT-4, in simple words, divides one cpu to four cpus, but still don't know how many LPAR cores is active on that moment on that server and how many phyisical cores is on that CPU...