cancel
Showing results for 
Search instead for 
Did you mean: 

cpuinfo mismatch

Former Member
0 Kudos

ASE1570 sp100, IBM AIX power8

cpuinfo see 2 cores, lpar see 4 Virtual CPUs

prtconf see Number Of Processors 4

$ ./cpuinfo

License hostid:        fa0d564c

Detected 16 logical processor(s), 2 core(s), in 1 chip(s)  <===============check this

$ ./cpuinfo -v

2015/10/12 14:36:09  Sybase Licensing API/2.2.0.9/2209/64bit/2/P/RS6000/AIX 5.3/OPT/Thu May  3 08:59:40 2012

2015/10/12 14:36:09  FLEXnet Licensing API/v10.8.5.0 build 31891 rs64_u5

2015/10/12 14:36:09  Hostid [1100796f0]: fa0d564c

2015/10/12 14:36:09  os_get_cpu_info: sysconf(_SC_NPROCESSORS_ONLN) = 16

2015/10/12 14:36:09  cpuinfo_set_processor: Processor implementation 0x10000: POWER7 or above

2015/10/12 14:36:09  osinfo_populate_osinfo: AIX v7.1

2015/10/12 14:36:09  os_get_cpu_info: pcpus_in_pool = 0

2015/10/12 14:36:09  os_get_cpu_info: Deduce topology from processor info

2015/10/12 14:36:09  get_cpu_defaults: SMT supported on AIX v7.1 since POWER5

2015/10/12 14:36:09  os_get_threads_per_core: SMT is enabled. 8 threads per core

2015/10/12 14:36:09  get_cpu_defaults: POWER7 or above processor has up to 8 cores per chip and up to 4 chips per MCM package

2015/10/12 14:36:09  os_get_cpu_info: logical: 16, cores: 2, chips: 1, packages:1

2015/10/12 14:36:09  Logical CPUs: 16

2015/10/12 14:36:09  Physical CPUs: 2  <===============check this

2015/10/12 14:36:09  CPU Chips: 1

2015/10/12 14:36:09  Getting MACHINE-wide CPU info

2015/10/12 14:36:09  get_machine_cpu_info: pcpus_in_sys = 16

2015/10/12 14:36:09  get_machine_cpu_info: SMT enabled. 8 threads per core

2015/10/12 14:36:09  cpuinfo_set_processor: Processor implementation 0x10000: POWER7 or above

2015/10/12 14:36:09  osinfo_populate_osinfo: AIX v7.1

2015/10/12 14:36:09  get_cpu_defaults: SMT supported on AIX v7.1 since POWER5

2015/10/12 14:36:09  os_get_threads_per_core: SMT is enabled. 8 threads per core

2015/10/12 14:36:09  get_cpu_defaults: POWER7 or above processor has up to 8 cores per chip and up to 4 chips per MCM package

2015/10/12 14:36:09  get_machine_cpu_info: MACHINE: 128 logical processors, 16 cores

2015/10/12 14:36:09  Machine-wide physical CPUs: 16

2015/10/12 14:36:09  Machine-wide CPU Chips: 2

2015/10/12 14:36:09  cpuinfo: Hostid = fa0d564c

License hostid:        fa0d564c

Detected 16 logical processor(s), 2 core(s), in 1 chip(s)

$ lparstat -i

Node Name                                  : siidb1

Partition Name                             : siidb1

Partition Number                           : 3

Type                                       : Dedicated-SMT-4

Mode                                       : Capped

Entitled Capacity                          : 4.00

Partition Group-ID                         : 32771

Shared Pool ID                             : -

Online Virtual CPUs                        : 4  <===============check this

Maximum Virtual CPUs                       : 6

Minimum Virtual CPUs                       : 1

Online Memory                              : 24576 MB

Maximum Memory                             : 32768 MB

Minimum Memory                             : 16384 MB

Variable Capacity Weight                   : -

Minimum Capacity                           : 1.00

Maximum Capacity                           : 6.00

Capacity Increment                         : 1.00

Maximum Physical CPUs in system            : 16

Active Physical CPUs in system             : 16

Active CPUs in Pool                        : -

Shared Physical CPUs in system             : 0

Maximum Capacity of Pool                   : 0

Entitled Capacity of Pool                  : 0

Unallocated Capacity                       : -

Physical CPU Percentage                    : 100.00%

Unallocated Weight                         : -

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                       : 4

Desired Memory                             : 24576 MB

Desired Variable Capacity Weight           : -

Desired Capacity                           : 4.00

Target Memory Expansion Factor             : -

Target Memory Expansion Size               : -

Power Saving Mode                          : Disabled

Sub Processor Mode                         : -

$  prtconf

System Model: IBM,8408-E8E

Machine Serial Number: 840D56W

Processor Type: PowerPC_POWER8

Processor Implementation Mode: POWER 8

Processor Version: PV_8_Compat

Number Of Processors: 4 <===============check this

Processor Clock Speed: 3724 MHz

CPU Type: 64-bit

Kernel Type: 64-bit

LPAR Info: 3 siidb1

Memory Size: 24576 MB

Good Memory Size: 24576 MB

Platform Firmware level: SV830_068

Firmware Version: IBM,FW830.10 (SV830_068)

Console Login: enable

Auto Restart: true

Full Core: false

Accepted Solutions (0)

Answers (1)

Answers (1)

kevin_sherlock
Contributor
0 Kudos

So, cpuinfo sees the actual hardware on the system, and the lpar and OS utilities see the virtual config.  BTW, noting that lparstat lists your 16 (virtual) processors as well.  The "cpuinfo" utility is reporting your hardware, because that's what the SAP ASE license is based on.

What exactly is your question?

Former Member
0 Kudos

logical partition use 4 processors, I assume cpuinfo see 4 cores,

there's no problem on IBM power 7, after upgrate to power 8, cpuinfo display only 2 cores.

licenses purchased based on the cores, is that means I only need to buy 2core license?

javier_barthe
Participant
0 Kudos

Hi Christopher,

In order to license a Lpar with AIX I used sysamcap PARTITION in order to get the exact number of cores you should license. You can find sysamcap utility at $SYBASE/SYSAM-2_0/bin/.

Check that output it should recommmend you 4 cores if you have an entitled capacity of 4 and a capped lpar.

Hope helps.

Javier.