Hi Joejing,

Thanks for quick reply. Above xml is getting generated fine if I set
"vcpu_pin_set=1-12" in /etc/nova/nova.conf.

But how to pin each vcpu with pcpu something like below

<cputune>
   <vcpupin vcpu=‘0’ cpuset=‘1-5,12-17’/>

   <vcpupin vcpu=‘1’ cpuset=‘2-3,12-17’/>

</cputune>


One more questions is Are Numa nodes are compulsory for pin each vcpu to pcpu?


Thanks,

Srininvas.




On Fri, Dec 26, 2014 at 4:37 PM, joejiang <ifz...@126.com> wrote:

> Hi Srinivasa,
>
> This section is related to cpu affinity in instance xml file.
>  <vcpu placement='static' cpuset='1-12'>4</vcpu>
>
> Regards,
> Joe Chiang
>
>
>
> At 2014-12-26 12:25:29, "Srinivasa Rao Ragolu" <srag...@mvista.com> wrote:
>
> Hi All,
>
> I have been working on CPU Pinning feature validation.
>
> I could able set vcpu_pin_set config in nova.conf and could able to see
> cpupin set in guest xml and working fine while launching.
>
> Please let me know how can I set cputune: vcpupin in guest xml?
>
> Or
>
> Any documents refer to validate cpu pinning use cases.
>
> Thanks,
> Srinivas.
>
>
>
>
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to