Solved

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

Posted on 2011-02-21
6
1,108 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

778 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