OpenVZ Forum


Home » Mailing lists » Users » Assign a container to a dedicated CPU core?
Assign a container to a dedicated CPU core? [message #42261] Mon, 28 March 2011 13:56 Go to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
From: *parallels.com
Hi,

I wanted to know if OpenVZ could assign all processes of a container
to a single CPU core?

It comes to my mind after reading this article:

http://www.cyberciti.biz/tips/setting-processor-affinity-cer tain-task-or-process.html

Best,

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: Assign a container to a dedicated CPU core? [message #42262 is a reply to message #42261] Mon, 28 March 2011 14:19 Go to previous message
MaximDolgikh is currently offline  MaximDolgikh
Messages: 3
Registered: February 2007
Location: Ukraine
Junior Member
From: *parallels.com
Hi,

you can do this with --cpus, for example
vzctl set 101 --cpus 1--save


On Monday 28 March 2011 16:56:39 Benjamin Henrion wrote:
> Hi,
>
> I wanted to know if OpenVZ could assign all processes of a container
> to a single CPU core?
>
> It comes to my mind after reading this article:
>
> http://www.cyberciti.biz/tips/setting-processor-affinity-cer tain-task-or-pr
> ocess.html
>
> Best,
Previous Topic: kernel-debuginfo ovz-kernel; kernel panic
Next Topic: FATAL: Error inserting loop module after Squeeze kernel update
Goto Forum:
  


Current Time: Thu May 24 19:19:40 GMT 2018