Ask Your Question

How can I Pin a Particular Virtual Machine to Particular CPU Core

asked 2015-08-19 06:30:14 -0600

venkatav gravatar image

Hi, I have an ubuntu running based on a 3 Node Architecture. All though when I use Horizon, I am not able to decide which core I want to use and by default the load is distributed on the available CPU cores.

Hence, I want to know how I can designate a particular CPU core to a VM?. Although we know we can directly pin a process using the command "taskset -p <pid>" here I want to know to pin a VM itself (where it may contain 1 or 2 process).

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-19 09:48:11 -0600

dbaxps gravatar image

updated 2015-08-19 09:49:06 -0600

See ( for RHEL 7.X, CentOS 7.X, Fedora 22 ):-

Actually, CPU pinning works via creating special flavors and launching VM with desired flavor. Regarding Ubuntu 15.04,14.04, I would expect Kilo behave in same way.
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-08-19 06:30:14 -0600

Seen: 888 times

Last updated: Aug 19 '15