Solved

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

Posted on 2011-02-21
6
1,111 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
[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
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sudo logging 5 109
NTP Server in VMware 5 392
How to calculate the current use of PVU on my TSM server. 4 96
Equivalent of WSUS for Solaris, AIX and Cisco devices 11 75
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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

733 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