OpenVZ Forum


Home » General » Support » CPU Allocation with OpenVZ (How CPU Allocation Works)
CPU Allocation with OpenVZ [message #37850] Wed, 28 October 2009 09:07 Go to next message
preston.rhea is currently offline  preston.rhea
Messages: 2
Registered: October 2009
Junior Member
New to OpenVZ;

How do I allocate a specific CPU to be used by a container?
Re: CPU Allocation with OpenVZ [message #37851 is a reply to message #37850] Wed, 28 October 2009 09:24 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

vzctl set CTID --cpus N --save


where N is the number of CPUs you want this container to have.

There is no way to allocate a specific CPU though. Why do you need that?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: I dont have access to internet in the vps
Next Topic: User Beancounters
Goto Forum:
  


Current Time: Mon Jul 15 22:00:19 GMT 2024

Total time taken to generate the page: 0.02579 seconds