Scenario: I define a WLM service super class (SC) with 5000 CPU SHARES, then define 2 subclasses with 8000 CPU Shares resp. 2000 CPU SHARES in that superclass:
create service class test1 cpu shares 5000
create service class subtest1 under test1 cpu shares 8000
create service class subtest2 under test1 soft cpu shares 2000
My understanding here is
- the 5000 Shares from SC test1 are inherited to each sub class in SC test1 which has no explicit cpu share definition (eg. the default subclass under SC test1)
- the CPU shares from all the subclasses in SC test1 are added to the sum of CPU shares of ALL other service classes in the database. If we assume that the sum of all CPU shares of all service classes in the database is 100000 this would mean that (for example) subclass subtest1 can have up to 8000 Shares of the overall 100000 shares ( = 8 % of available CPU)
Now I had a discussion with a customer who has a different understanding:
He assumes that the 8000 shares of sublass subtest1 and the 2000 shares of subtest2 has to be seen proportional to the 5000 shares of Super class test1. Means that the 8000 shares of subtest1 in real would be 4000 Shares: the super class shares of 5000 are 100 % and the 8000 Shares of subtest1 translates to a portion of 80 % resp. the 2000 Shares of subtest2 to a 20% portion of the 100 % .
Who is right? I cannot find a exact answer in db2 documentation
TIA for any comment
Joachim
------------------------------
Joachim Klassen
------------------------------