Solved

AIX lpar number of CPU's

Posted on 2010-11-17
3
4,900 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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

626 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