Visit Our UNIX and Linux User Community


Newbie & LPAR


 
Thread Tools Search this Thread
Operating Systems AIX Newbie & LPAR
# 1  
Old 02-02-2011
Newbie & LPAR

Hello,

what is the meaning of:


Code:
lparstat -i
Node Name : ****
Partition Name : ****
Partition Number : 1
Type : Shared-SMT
Mode : Capped
Entitled Capacity : 2.00
Partition Group-ID : 32769
Shared Pool ID : 0
Online Virtual CPUs : 4
Maximum Virtual CPUs : 4
Minimum Virtual CPUs : 2
Online Memory : 16384 MB
Maximum Memory : 20480 MB
Minimum Memory : 8192 MB
Variable Capacity Weight : 0
Minimum Capacity : 1.00
Maximum Capacity : 4.00
Capacity Increment : 0.01
Maximum Physical CPUs in system : 16
Active Physical CPUs in system : 16
Active CPUs in Pool : 16
Shared Physical CPUs in system : 16
Maximum Capacity of Pool : 1600
Entitled Capacity of Pool : 1400
Unallocated Capacity : 0.00
Physical CPU Percentage : 50.00%
Unallocated Weight : 0
Desired Virtual CPUs : 4
Desired Memory : 16384 MB
Desired Variable Capacity Weight : 0
Desired Capacity : 2.00

I see 8 "CPU"(Cores) in topas. Is every topas-CPU limited to 25% of one physical core? Or if only one topas-CPU is used, could it gain 100% from one physical Core?

Thx
Talulah

---------- Post updated 02-02-11 at 06:28 AM ---------- Previous update was 01-02-11 at 05:46 PM ----------

Additional question:
Code:
lparstat -i: 4 Online Virtual CPUs

Why are there eight CPUs in topas?

Last edited by pludi; 02-01-2011 at 12:52 PM.. Reason: code tags, please...
# 2  
Old 02-02-2011
There is a feature called Simultaneous Multi Threading (SMT) which adds a 2nd hardware thread, that is being shown in some tools as another CPU. Usually they are referred to as "Logical CPUs".
To see a list of the Logical CPU distribution, type smtctl.
With AIX 7 installed on p7, you have even 3 additional CPU threads per Virtual CPU, which will give you 4 Logical CPUs per Virtual CPU when SMT is enabled.

If you got more AIX particular questions, I suggest posting them in the AIX subforum here next time so they have a higher chance to get an answer. Moving this thread there.
This User Gave Thanks to zaxxon For This Post:
# 3  
Old 02-02-2011
Quote:
With AIX 7 installed on p7, you have even 3 additional CPU threads per Virtual CPU
you do NOT need AIX 7 to have 4 threads per virtual cpu on p7 - you have 4 threads with AIX 6.1 too Smilie ...
# 4  
Old 02-03-2011
Quote:
Mode : Capped
Entitled Capacity : 2.00
Online Virtual CPUs : 4
You have a capped LPAR, which means that the maximum number of CPU power you get is 200 processing units (entitled capacity).
These units are presented as four virtual CPU's to the OS, SMT doubles this number to eightlogical CPU's. So the eight CPU's you see are not eight cores. Only 2 cores can be used by the LPAR in this configuration.
This User Gave Thanks to firefox111 For This Post:
# 5  
Old 02-03-2011
Thank you for your answers!!!

In this configuration:
If exactly one process with 100% virtual CPU utilization runs, then used this only 50% or up to 100% of one physical CPU?

I think it can only occupy 50% of a physical CPU, because there are allocated only 2.0 and these are distributed evenly on this 4 virtual CPU. This would mean that it would only be possible with at least 4 processes to exhaust the entitled 2.0 capacity and one single process would be run faster with the following setting:
Code:
Mode : Capped
Entitled Capacity : 2.00
Minimum virtual processors: 1.0
Desired virtual processors: 2.0
Maximum virtual processors: 2.0

Unfortunately, I find nothing in this Redbook ( sg247940 )

What do you think?

To test this:
Is on a standard AIX system a tool available that accurately initiates one process and utilizes a CPU for a certain time and then outputs as many calculations could run it?
# 6  
Old 02-03-2011
I had a similar question about the monitoring of CPU usage on logical CPUs. I was trying to sort out some nmon reports and came to no conclusion. So I asked Nigel Griffiths (coder of nmon) in the IBM developerWorks forum about it:

https://www.ibm.com/developerworks/f...557461�
Quote:
...
I agree the logical CPU stats are largely meaningless for shared CPU partitions because the logical CPUs don't really exist as we think of them (they are sharing in unpredictable ways the underlying physical CPUs and certainly don't have fixed percentages of CPU time like 50:50) and especially when uncapped as its reported as 100% busy when its really say 5 times the entitlement which you could call 500% !!

Pay attention to the Physical CPU use (also called CPU used).
...
---------- Post updated at 04:38 PM ---------- Previous update was at 02:17 PM ----------

In addition to my previous somewhat general post:

Your assumption sounds correct to me, if the process is single threaded. If it is multithreaded and SMT is enabled, it should be dispatched by different logical CPUs and so take advantage being able to run multiple threads on multiple logical CPUs.
You can check dispatching with mpstat -s 1 for example.
There is also a "Virtualization best practices" Redbook - maybe this has information about it.

A single threaded process will most probably not take any advantage of SMT or having more than 1 virtual CPU available, if it is running mainly alone on the system. It can only be handled by one virtual CPU at a time. Though a second virtual CPU can meanwhile handle other operating system tasks etc. In that case turn of SMT and monitor it's performance.

For tests you could try out nstress.

You might want to check out what is best for your environment/application.
To check out if your application is multithreaded, check it out with svmon -P| grep -p Pid. There will be a Y in the column for Mthrd.

In our environments we have SMT turned on, because on every LPAR there is usually running single and multithreaded processes and we had no need to turn SMT yet off.

Last edited by zaxxon; 02-03-2011 at 11:42 AM.. Reason: changed "virtual" to "logical"

Previous Thread | Next Thread
Test Your Knowledge in Computers #987
Difficulty: Medium
The FreeBSD TCP/IP stack is based on the 4.2BSD implementation of TCP/IP.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

How to differentiate between a standalone LPAR and a VIOC (which again is a lpar)?

There can be configurations in IBM Server wherein a standalone partition is created on some supported IBM Server Or A VIOS - VIOC LPARs created. Now in both cases they are lpars. But if I want to differentiate b/w a standalone LPAR vs an VIOC LPAR how can I do..? On a... (2 Replies)
Discussion started by: Manish00712
2 Replies

2. AIX

Newbie - AIX LPAR performance problem

Running into performance issues with WAS application servers on two of LPAR's or like configuration under high load web pages crawl. Please forgive me I'm new to AIX and most my expertise is in the Linux space. Thanks for your help!! Here's the run down: The problem appears to be CPU... (3 Replies)
Discussion started by: margeson
3 Replies

3. AIX

LPAR freezes after switching of storage (lpar is mirrored)

Hi all, I have the following configuration 2 ds3524 storage disk systems located over 2 locations 2 P720 server located over 2 locations DS3524 are connected to san switch. Each vio server has 1 fc adapter attached to a san switch. per p720 server 2 virtual io servers. Vio 1 has 1 lun... (2 Replies)
Discussion started by: markiemark
2 Replies

4. AIX

DUAL VIOS & Client LPAR hangs at 25b3

I have a DUAL VIO ( IBM Virtual I/O ) setup on p 570. Two Vio server ( VIOS ) and many LPAR clients. VIO ( latest version + service pack + applied the fix ) and AIX 6.1 ML2 When both VIOs are running, and if I turn on a Client LPAR, the LPAR hangs at LED 25b3 for more than 1 hour then it... (2 Replies)
Discussion started by: filosophizer
2 Replies

5. Red Hat

newbie: Linux Server Names & Types..!!!

Any one tell me about the list of Redhat Linux Enterprise 5 SERVERS and their functions. thanks (3 Replies)
Discussion started by: salman103
3 Replies

6. SCO

newbie - CUPS installation & C compiler

Ok new in here so be gentle: I'm a programmer with the need to also be a sys admin on a box running: Client has purchased a Kyocera KM-4035 do it all machine. However, no driver exists for SCO and when I contacted their Kyocera rep he told me to install CUPS. I downloaded CUPS and ran... (2 Replies)
Discussion started by: bbxguy
2 Replies

7. Shell Programming and Scripting

perl newbie . &&..programming newbie

Hi, I am new to programming and also to perl..But i know 'perl' can come to my rescue, But I am stuck at many places and need help..any small help is much appreciated... below is the description of what i intend to acheive with my script. I have a files named in this format... (13 Replies)
Discussion started by: xytiz
13 Replies

8. Shell Programming and Scripting

perl newbie . &&..programming newbie (question 2)

Hello everyone, I am having to do a lot of perl scripting these days and I am learning a lot. I have this problem I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files.. there is folder1\folder2\*.gz and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies

9. UNIX for Dummies Questions & Answers

Newbie help with New Line & Blank Line

I have this in my script: usercount=`ldapsearch -L -b"ou=people,ou=$ou,dc=paisleyhosting,dc=com" -h"$server" -p"1391" cn=* nothing | grep -c dn` admincount=`ldapsearch -b"ou=groups,ou=$ou,dc=paisleyhosting,dc=com" -h"$server" -p"1391" cn=USERADMIN* uniquemember | grep... (5 Replies)
Discussion started by: kthatch
5 Replies

10. UNIX for Dummies Questions & Answers

Newbie ? Need Help with If/Then & Line Breaks...

I hope this makes sense, but I need help with what is indicated with %%, below : A.) ####List active servers and send to file#### # ps -ef | grep jboss | grep sh | awk '{if ($14) {print $12;}else {print $11}}' | sort > /export/home/kthatch/script_results client302 client306 client309... (1 Reply)
Discussion started by: kthatch
1 Replies

Featured Tech Videos