PDA

View Full Version : CPU Affinity / pinning



amginenigma
17-Dec-2012, 17:51
I'm wondering if it is possible to set affinity (Pin) a specific CPU (s) within the configuration files of guest (DomU's) machines. I specifically am looking to prevent junior admins from increasing the number of CPU's available to guests based upon the 'they were complaining of slowness' method vs. actually verifying the load demanded the additional resources (which so far it never has).

I've done a bit of research and it appeared that adding 'cpus="16-31" ' would 'pin' that guest to only those CPU(s) however that argument in the domain file doesn't appear to be enforced in a SLES 11 SP2 server.

Thanks in advance!

KBOYLE
18-Dec-2012, 17:28
amginenigma wrote:

> am looking to prevent junior admins from increasing the
> number of CPU's available to guests

Here's a similar post. Have you seen it?
http://forums.suse.com/showthread.php?t=2155

What's to stop your junior admins from changing whatever you configure?
Perhaps some education and administrative procedures would be a better
solution...

--
Kevin Boyle - Knowledge Partner
If you find this post helpful and are using the web interface,
show your appreciation and click on the star below...