Skip to content

Detection of AIX sockets, processors and logical processors seems off #2736

@mnellemann

Description

@mnellemann

Hi,

Testing on an AIX 7.3 system with 1 processor (SMT-8 / 8 hw-threads =~ 8 logical/virtual cores/cpus). The OS runs virtualized on PowerVM, as almost everything on Power does.

OSHI reports the following: lcpus=5, procs=5, sockets=1

  • sockets = systemInfo.getHardware().getProcessor().getPhysicalPackageCount();
  • procs = systemInfo.getHardware().getProcessor().getPhysicalProcessorCount();
  • lcpus = systemInfo.getHardware().getProcessor().getLogicalProcessorCount();

I would expect 1 socket, 1 processor and 8 logical processors.

From the OS i can see:

# lparstat

System configuration: type=Shared mode=Uncapped smt=8 lcpu=8 mem=4096MB psize=28 ent=0.25

%user  %sys  %wait  %idle physc %entc  lbusy  vcsw phint  %nsp  %utcyc
----- ----- ------ ------ ----- ----- ------ ----- ----- -----  ------
  0.3   0.2    0.0   99.5  0.01   2.5    0.1 961864922  1695   157  36.30

# vmstat

System configuration: lcpu=8 mem=4096MB ent=0.25

To me it seems like an error, but I have only tested on 1 system.

Would like to hear your comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug?Might be a bug but need more informationup for grabsIssues the maintainers want community help with

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions