OpenVZ Forum


Home » General » Support » Help config VPSs in server i7 (CPU i7 920 - Hyper Threading enabled)
Help config VPSs in server i7 [message #39230] Wed, 31 March 2010 12:12 Go to next message
magic1000 is currently offline  magic1000
Messages: 5
Registered: November 2009
Location: Viet Nam
Junior Member
Hello.
I have a problem when config VPSs in server. Because server is use CPU i7 920, have 4 core, 8 thread.
So server only working up to 50% CPU of 8 CPU (I use top command).
Help me config VPSs only used 25% core. If I have 16 node in this server.
Will I set cpulimit is 50 or 25?
Re: Help config VPSs in server i7 [message #39231 is a reply to message #39230] Wed, 31 March 2010 13:04 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Use vzctl set --cpus to set the number of CPUs you want the container to use. Note it only works in a stable (rhel5-based) kernel.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: Networking/IPTables, cannot ping domains names from container with iptables on in HZ
Next Topic: Kernel update and downtime?
Goto Forum:
  


Current Time: Thu Apr 25 01:07:11 GMT 2024

Total time taken to generate the page: 0.01396 seconds