1832367 Members
2846 Online
110041 Solutions
New Discussion

PRM Not Working?

 
Alzhy
Honored Contributor

PRM Not Working?


--------------------------------------------------------------------------------
PRM GROUP LIST Users= 119
Num Act CPU CPU AvgCPU Logl Phys Res Virt
Idx PRM Group Procs Procs SHR Util Util IO IO Mem Mem
--------------------------------------------------------------------------------
1 (PRM_SYS) 336 19 100 4.8 4.8 487.5 1.6 1005mb 2.56gb
2 OTHERS 432 53 10 84.1 84.1 1363.3 280.8 5.78gb 14.1gb
3 POWER 43 4 90 7.1 7.1 0.0 0.0 129.2mb 325.7mb

This used to work before.. Note that my PRM group has 90 shares out of 100 (so it should be assured 90% CPU) but the stats show that its not getting its intended share anymore.


Hakuna Matata.
3 REPLIES 3
Alzhy
Honored Contributor

Re: PRM Not Working?

BTW, here's my /etc/prmconf:

# more /etc/prmconf
#
# Group/CPU records
#
OTHERS:1:100::
POWER:2:900::
#
# Memory records
#
#
# Group/CPU records
#
OTHERS:1:100::
POWER:2:900::
#
# Memory records
#
#
# Application records
#
#
# Disk bandwidth records
#
#
# User records
#
adm::::OTHERS
bin::::OTHERS
builder::::POWER
daemon::::OTHERS
hpdb::::OTHERS
lp::::OTHERS
nobody::::OTHERS
nuucp::::OTHERS
root::::(PRM_SYS)
smbnull::::OTHERS
sys::::OTHERS
uucp::::OTHERS
webadmin::::OTHERS
www::::OTHERS
Hakuna Matata.
Jonathan Fears
Trusted Contributor

Re: PRM Not Working?

Hello Nelson,

The 90% CPU entitlement that you gave the POWER group is a guaranteed minimum when the system is at peak CPU load. From the information you provided, it seems OTHERS is using the majority of the CPU. As long as the POWER group does not need CPU (its util is only 7.1%), OTHERS is free to borrow it. Once POWER needs CPU, it will get the CPU back from OTHERS up to its entitlement. This is the behavior of PRM when in uncapped mode.
PRM does have a CPU capping mode which does not allow any group to go above its entitlement. In your scenario that means OTHERS would be capped at 10% and even though it needs more, it would not be able to utilize the CPU not being used by POWER. That excess CPU for the POWER group would be left idle.

Regards,
Jonathan
Alzhy
Honored Contributor

Re: PRM Not Working?

Thanks.

My claim was unfounded.. it is indeed working. The allocations works ONLY when there is really a need for such.


Hakuna Matata.