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

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

Posted on 2011-02-21
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
        description = "Standard Web Services"
        tier   = 1
        inheritance = "yes"
        authuser = "webadmin"

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

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

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

Question by:Tomunique
  • 3
  • 2

Expert Comment

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

Author Comment

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

LVL 68

Accepted Solution

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".


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.


Author Comment

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?
LVL 68

Expert Comment

ID: 34946477

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!


Author Closing Comment

ID: 34946606
Thanks for the information/education.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

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…
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.

790 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