OpenVZ Forum


Home » General » Support » How to limit CPU utilization for VE?
How to limit CPU utilization for VE? [message #36124] Fri, 22 May 2009 13:09 Go to next message
Atosboy is currently offline  Atosboy
Messages: 15
Registered: April 2009
Junior Member
Hi,

We try to configure a VE with a CPU limitation to 10% of the power of the hardware node. In order to do that, we set the cpulimit parameter to 10 for our VE and restart our VPS. This parameter seems to be get into account(during start, cpu limitation is set) but it seems not impact our VE execution(application execution time doesn't change, SAR CPU measurement isn't affect).

May we have forgotten to set a parameter to limit CPU utilization for our VE?

Below are some additional information:
*Host:
- OpenSUSE 11.1, kernel: 2.6.27 64 Bits
- OpenVZ Kernel 2.6.27 64 bits (kernel-ovz-default-2.6.27.11-aivazovsky.1.43.1.x86_64.rpm, kernel-ovz-default-base-2.6.27.11-aivazovsky.1.43.1.x86_64.r pm, kernel-ovz-default-extra-2.6.27.11-aivazovsky.1.43.1.x86_64. rpm)
*VPS:
- OpenSUSE 11.0 32 Bits (opensuse community template cache)
*VPS configuration:
- or ve-unlimited.conf-sample

Thank you in advance for your help,

Pat
Re: How to limit CPU utilization for VE? [message #36125 is a reply to message #36124] Fri, 22 May 2009 14:10 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

cpulimit feature only works in the stable (i.e. rhel5-based) kernel

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: How to limit CPU utilization for VE? [message #36170 is a reply to message #36125] Tue, 26 May 2009 13:33 Go to previous message
Atosboy is currently offline  Atosboy
Messages: 15
Registered: April 2009
Junior Member
Thank for this information

Pat
Previous Topic: ioacct interpretation and unit
Next Topic: VE and network communications
Goto Forum:
  


Current Time: Mon Sep 02 23:12:38 GMT 2024

Total time taken to generate the page: 0.04980 seconds