Solved

AIX WLM in an uncapped micropartition - what's 50% mean?

Posted on 2011-02-21
6
1,107 Views
Last Modified: 2012-05-11
While not totally new to WLM, we've not actually put it in active mode before.

I have an uncapped micropartition.
4 Virtual Processors,  .4 entitlement.

I have two JVMs running on the box
I've assigned each to a class (Web1 and Web2)
Web1 is capped at 50% cpu
I want to guarantee Web2 to have 60%, if it wants it.
If web1 isn't doing anything, let Web2 use it all.
If they're both busy, Web2 gets 60%, then has to fight for the remaining 40.

Question has come up, this is 60% of what?  .4 processors? or 4 full processors?
Another way to ask, WEB1 is capped at 50%, have I limited it to .2? or 2?

WLM is configured as follows: (contents tweaked for readability)
Classes -------
System: tier   = 1
Default: tier   = 1
Shared:
Web1:
        description = "Standard Web Services"
        tier   = 1
        inheritance = "yes"
        authuser = "webadmin"

Web2:
        description = "Websphere2 Services"
        tier   = 1
        inheritance = "yes"
        authuser = "webadmin"

Shares: ---------------
Web1: CPU    = 10
Web2: CPU    = 60

Limits: ---------------
System:  memory = 1%-35%;100%
Web1:
        CPU    = 0%-50%;50%
        memory = 0%-35%;35%
Web2:
        CPU    = 60%-100%;100%
        memory = 60%-60%;60%

0
Comment
Question by:Tomunique
  • 3
  • 2
6 Comments
 
LVL 5

Expert Comment

by:mooodiecr
ID: 34945151
From what I understand the Percentage shown is always the percentage of the entitled capacity.   In your instance it would be .4.  However if your parameters are setup with the Desired, Maximum and Minimum Processing Units and the LPAR is uncapped the utilization of your processors will fluctuate.  The server running that you are viewing will change slightly but sill only report the percentage of the processing units it has access to.  Which changes depending on your allocations of your partitioning.

The mpstat and lparstat tools with the HMC console you should be able to properly determine what is actually being utilized as far as physical processors.  The best way to control the growth and access to more processing power is to properly identify and weigh the applications in priority of of business needs.

Hope this helps, micro-partitioning, as soon as I think I get it I end up more confused than when I started lol
0
 
LVL 6

Author Comment

by:Tomunique
ID: 34945411
What your describing, especially when it gets to the HMC,  sounds like inter-partition priorities, than intra.

0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 34945609
If you're familiar with inter-partition scheduling you will probably know that your partition as a whole is limited to the use of 4 physical processors at max (due to 4 virtual processors) and to 0.4 processors as a minimum (due to entitlement).

Thus the actual CPU consumption of the whole partition will oszillate between these two values as a function of "Uncapped weight" and scale of contention between partitions.

You can now easily calculate that the 60% will be the share of this total CPU consumption.
Given there were no contention between logical partitions (only between your WPARs)
Web2 would be able to consume 2.4 physical CPUs, Web1 the remaining 1.6 CPUs.

As scale of contention between LPARS grows the ratio between Web1 and Web2 will remain the same, but the absolute value wil diminuish (down to the guaranteed 0.24 and 0.16 physical CPUs in the worst case).

So if the question were  "60 guaranteed percent of what?" the answer would be "60 percent of the guaranteed 0.4 processors".

wmp

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 6

Author Comment

by:Tomunique
ID: 34946270
Ok, that makes sense as everything above entitlement is no longer "guaranteed".
But the hard cap on Web1 at 50%...
Assuming no inter-partition contention, and Web2 being idle, it could use 2 physical cpus?
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34946477
Yes.

The "Absolute Maximum" of Web1 being 50% - if there are enough free CPUs in your managed system and if Web2 is idle Web1 can use 2 physical CPUs - well, aside from the kernel/hypervisor overhead, of course!

wmp
0
 
LVL 6

Author Closing Comment

by:Tomunique
ID: 34946606
Thanks for the information/education.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

896 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now