OpenVZ Forum


Home » General » Support » Contolling the number of CPU cores used per VE
Contolling the number of CPU cores used per VE [message #31336] Wed, 25 June 2008 04:46 Go to next message
alevchuk is currently offline  alevchuk
Messages: 22
Registered: February 2007
Location: University of California,...
Junior Member
Dear People,

With OpenVZ, is it possible to control how many CPU cores are available for a particular Virtual Environment?

For example, on my hardware, when the HN boots, the Kernel sees 8 CPUs (2 quad-cores). Would it be possible to have 2 Virtual Environments with 3 cores dedicated to one and 5 cores dedicated to another?

Alex
Re: Contolling the number of CPU cores used per VE [message #31340 is a reply to message #31336] Wed, 25 June 2008 11:10 Go to previous message
LinuxGeek is currently offline  LinuxGeek
Messages: 13
Registered: April 2008
Location: Egypt
Junior Member
you can do it via
vzctl set CTID --cpus <N>
Previous Topic: size of a backup
Next Topic: vzpkgcache centos-4-i386-default no longer work
Goto Forum:
  


Current Time: Sun Jul 14 19:58:39 GMT 2024

Total time taken to generate the page: 0.02327 seconds