To Understanding AIX Processor Utilization

To understand the Actual AIX systems processor utilization there are multiple methods are available, so before that we should remember below mentioned processor Factors and STATES.

  • lparstat -E option will help us to understand actual processor utilization.
  • There will be two columns are listed, in that Actual column filed will give us exact utilization of processor

Processor Utilizations Factors and STATES:

user% The percentage of processor used by programs running in user mode
sys% The percentage of processor used by programs running in kernel mode.
Wait% The percentage of time spent in waiting for I/O
Idle% The percentage of time that the processors are idle.

Process STATES:

0 Nonexistent
A Active
I Intermediate
Z Canceled
T Stopped
K Available kernel process

To find out processor utilization idle percentage:

# lparstat -E 3 3

System configuration: type=Shared mode=Uncapped smt=8 lcpu=16 mem=32768MB ent=0.50 Power=Disabled

Physical Processor Utilisation:

 --------Actual--------              ------Normalised------
 user   sys  wait  idle      freq    user   sys  wait  idle
 ----  ----  ----  ----   ---------  ----  ----  ----  ----
0.311 0.003 0.000 0.186 3.5GHz[100%] 0.311 0.003 0.000 0.185
0.558 0.004 0.000 0.000 3.5GHz[100%] 0.558 0.004 0.000 0.000
0.101 0.002 0.000 0.397 3.5GHz[100%] 0.101 0.002 0.000 0.397

To get each output in % metrics.

# lparstat -Ew 3 3

System configuration: type=Shared mode=Uncapped smt=8 lcpu=16 mem=32768MB ent=0.50 Power=Disabled

Physical Processor Utilisation:

   -----------------------Actual-------------------                 --------------------Normalised------------------
      user          sys         wait         idle         freq         user          sys         wait         idle
   ---------    ---------    ---------    ---------    ---------    ---------    ---------    ---------    ---------
0.5574[111%] 0.0044[  1%] 0.0000[  0%] 0.0000[  0%]  3.5GHz[100%] 0.5579[112%] 0.0044[  1%] 0.0000[  0%] 0.0000[  0%]
0.4766[ 95%] 0.0042[  1%] 0.0000[  0%] 0.0192[  4%]  3.5GHz[100%] 0.4770[ 95%] 0.0042[  1%] 0.0000[  0%] 0.0188[  4%]
0.1644[ 33%] 0.0022[  0%] 0.0000[  0%] 0.3334[ 67%]  3.5GHz[100%] 0.1646[ 33%] 0.0022[  0%] 0.0000[  0%] 0.3333[ 67%]

Note:

  • in dedicated Mode LPAR this actual processor consumption will not exceed the entitlement capacity.
  • But in shared mode LPAR actual processor consumption can exceed the entitlement capacity.

To find out processor idle % for shared LPAR

idle % = Entitlement – (user + sys + wait)

For example:

# lparstat -E 3 3

System configuration: type=Shared mode=Uncapped smt=8 lcpu=16 mem=32768MB ent=0.50 Power=Disabled

Physical Processor Utilisation:

 --------Actual--------              ------Normalised------
 user   sys  wait  idle      freq    user   sys  wait  idle
 ----  ----  ----  ----   ---------  ----  ----  ----  ----
0.311 0.003 0.000 0.186 3.5GHz[100%] 0.311 0.003 0.000 0.185
0.558 0.004 0.000 0.000 3.5GHz[100%] 0.558 0.004 0.000 0.000
0.101 0.002 0.000 0.397 3.5GHz[100%] 0.101 0.002 0.000 0.397

idle = Entitlement – (user + sys + wait)

Idle = 0.50 – (0.311 + 0.003 + 0.000)

Idle = 0.50 – 0.314

idle = 0.186 %

Related posts

Leave a Comment