[Users] Question about cpulimit vs. cpuunits

Scott Dowdle dowdle at montanalinux.org
Mon Nov 16 14:36:14 EST 2009


Sergej,

----- "Sergej Kandyla" <sk.paix at gmail.com> wrote:
> plz look
> http://wiki.openvz.org/Resource_shortage
> 
> cpulimit is a hard quota of resources.
> If you set for example
> 
> vzctl set 101 --cpulimit 50 --save
> 
> your VE will not use more than 50% of cpu.
> 
> cpuunits is relative limitation.
> cpuunits allows your VE to use all processor time in case if 
> processor(s) in idle state.
> Also it allows to specify the ratio of processor usage between VEs.

Yes, I'm familiar with that stuff... but the question still remains, is there any strategy/configuration to make cpuunits behave similarly to cpulimits?

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]


More information about the Users mailing list