Ask Your Question
0

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

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

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
1

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

dbaxps gravatar image

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

See ( for RHEL 7.X, CentOS 7.X, Fedora 22 ):-
http://redhatstackblog.redhat.com/201...
http://bderzhavets.blogspot.com/2015/...
http://bderzhavets.blogspot.com/2015/...

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 771 times

Last updated: Aug 19 '15