Ask Your Question
0

How to set cpuset attribute in vcpu element in instance xml?

asked 2013-06-26 08:40:30 -0500

peegupta gravatar image

Hi, in relation to the changes shown here : https://blueprints.launchpad.net/nova/+spec/instance-vcpu-pin (https://blueprints.launchpad.net/nova...) , I want to set cpuset attribute. But I can't enable this. I tried to add vcpu_pin_set to nova.conf , but it's not working. I am using devstack on Ubuntu 12.04. What am I doing wrong?

edit retag flag offensive close merge delete

11 answers

Sort by » oldest newest most voted
0

answered 2013-07-01 08:26:06 -0500

is there any way to pin cpus dynamically? I believe there is no way to do this, currently the vcpu_pin_set affects all instances.

2013-07-01

Wangpan

发件人:Peeyush Gupta question231384@answers.launchpad.net 发送时间:2013-07-01 16:16 主题:Re: [Question #231384]: How to set cpuset attribute in vcpu element in instance xml? 收件人:"hzwangpan"hzwangpan@corp.netease.com 抄送:

Question #231384 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/231384 (https://answers.launchpad.net/nova/+q...)

Status: Answered => Solved

Peeyush Gupta confirmed that the question is solved: Hi wangpan, sorry for replying late, I was busy with some other stuff. I tried it out and guess what, it's working! Thank you very much! One more thing, is there any way to pin cpus dynamically? Meaning that when I give "nova boot" command can I decide which cpus I am going to pin this particular VM and the result reflects in the VM's xml? Does this mechanism works for each instance or just for making groups for libvirt to use?


You received this question notification because you are a direct subscriber of the question.

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: 2013-06-26 08:40:30 -0500

Seen: 703 times

Last updated: Jul 01 '13