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 _______________________________________________ Users mailing list [email protected] https://openvz.org/mailman/listinfo/users
