OpenVZ Forum


Home » Mailing lists » Users » Clock in VPS loosing time quickly
cpulimits doesn't work [message #29995 is a reply to message #29984] Mon, 05 May 2008 00:32 Go to previous messageGo to previous message
Zhaohui Wang is currently offline  Zhaohui Wang
Messages: 10
Registered: May 2008
Junior Member
Hi All

I am trying to measure the cpu resource management functionality,and I set cpulimit to 2 by
 Vzctl set 101 --cpulimit 2 --save

And try run super_pi cpu intensive program in ve 101, I should expect the time to be extended by 50 times at least (if not 400 times) 

Because the test is on a 2 Xeon  5345 quad core system(8 cores altogether).

But I got the same result as I ran super_pi on ve0 directly.


One more thing that I don't understand is when I use 
vzlist 101 -o laverage,cpuunits,cpulimit
the output is
LAVERAGE  CPUUNI  CPULIM
0.00/0.00/0.00     500       1

Can any one clarify why CPULIM here is 1?and always reduced by 1 comparing to the one that I used in the vzctl set --cpulimit XXX?and what is the meaning if it is a 0 here.

Thanks in advance.






Best Regards
Zhaohui Wang
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GFS2 version?
Next Topic: linux vlan + ipv6 tunnel
Goto Forum:
  


Current Time: Sun Jun 22 08:51:08 GMT 2025

Total time taken to generate the page: 0.07226 seconds