CPULIMIT problem [message #38217] |
Sun, 29 November 2009 12:13 |
Save
Messages: 1 Registered: November 2009
|
Junior Member |
|
|
Hello,
I'm having a strange problem with OpenVZ. cpunits works right, but cpulimit doesen't.
For example, if I set 10% cpulimit on a container, when I execute CPU-intensive script on that container, it seems to belimited at 1%
I've done some test, here is the results:
CPULIMIT->real limit
10 -> 1
20 -> 2
30 -> 4
40 -> 6
50 -> 10
60 -> 12
70 -> 17
80 -> 25
90 -> 43
95 -> 62
100 -> 100
cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 9
model name : Intel(R) Pentium(R) M processor 1500MHz
stepping : 5
cpu MHz : 1496.328
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe up est tm2
bogomips : 2992.65
uname -a
2.6.18-164.2.1.el5.028stab066.7 #1 SMP Thu Nov 26 06:53:20 MSK 2009 i686 i686 i386 GNU/Linux
(CentOS)
If I set (for example):
cpulimit 40% on CT101
cpulimit 60% on CT102
It works right. (only when CT101+CT102=100)
Thank's in advance!
[Updated on: Sun, 29 November 2009 12:14] Report message to a moderator
|
|
|