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
Previous Topic: I dont have access to internet in the vps
Next Topic: User Beancounters
Goto Forum:

Current Time: Fri Dec 01 20:24:49 GMT 2023

Total time taken to generate the page: 0.04002 seconds