Solved

AIX lpar number of CPU's

Posted on 2010-11-17
3
4,880 Views
Last Modified: 2012-05-10
Hi ,

I 'm an oracle DBA i need to find out the actual CPU's for the server on AIX 5.3 which is logically partitioned.

Below are the output of lparstat can anyone please interpret it.

$ lparstat

System configuration: type=Shared mode=Capped smt=On lcpu=8 mem=18432 psize=16 ent=2.00

%user  %sys  %wait  %idle physc %entc  lbusy   app  vcsw phint
----- ----- ------ ------ ----- ----- ------   --- ----- -----
  1.1   0.6    0.4   97.9  0.04   2.0    5.2 11.03 5177365514 130452983


$ prtconf
System Model: IBM,9117-570
Machine Serial Number: 100822F
Processor Type: PowerPC_POWER5
Processor Implementation Mode: POWER 5
Processor Version: PV_5
Number Of Processors: 4
Processor Clock Speed: 1654 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 7 mac20b
Memory Size: 18432 MB
Good Memory Size: 18432 MB
Platform Firmware level: Not Available
Firmware Version: IBM,SF240_338
Console Login: enable
Auto Restart: true
Full Core: false


0
Comment
Question by:syed_dba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 333 total points
ID: 34158941
Hi,

With "Number of Processors" prtconf shows the number of virtual CPUs.
 
This is the maximum number of CPUs an LPAR can use. It has nothing to do with the hardware actually present in your system.

Find the number of hardware CPUs with

lparstat -i

Look for "Active Physical CPUs in system"

wmp





0
 
LVL 5

Assisted Solution

by:balasundaram_s
balasundaram_s earned 167 total points
ID: 34159843
As per output above, this LPAR is "shared and capped" with 4 logical processors( that is equal to 2 Physical processors, as defined).

You may use 2 Physical processor for licensing.
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 333 total points
ID: 34160054
Nope.

This partition has 8 logical CPUs (due to Simultaneous Multithreading being enabled).
as can be seen in this line of "lparstat" above:

System configuration: type=Shared mode=Capped smt=On lcpu=8 mem=18432 psize=16 ent=2.00

Simultaneous Multithreading is a technique allowing for 2 threads running in parallel on one core, available since AIX 5.3 and Power5.

The 4 CPUs shown by "prtconf" are virtual CPUs, which means that this partition's OS "sees" 4 CPUs and could use 4 physical CPUs if needed and if contention with other partitions allows - but on the other hand this LPAR is capped at 2 CPUs, which is somehow a misconfiguration. 4 physical CPUs can never be used, the 4 virtual CPUs are mapped to 2 real CPUs at max.

That's the point where balasundaram_s is right - this last number (2) of CPUs is the one relevant for Oracle licensing - but you should talk to your Oracle sales rep nonetheless, because there have been licensing models around where the number of CPUs in the whole complex was taken into account!

All the ouput above does not make a statement about this number of physical CPUs actually present in your p570 complex.

This value can e.g. be seen in the "Active Physical CPUs in system" - line of "lparstat -i", as I wrote above.

wmp

0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question