<div dir="ltr">Please look at the NUMA feature to enable you to pin a VM to a CPU group.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre cols="72"><span style="font-family:arial,helvetica,sans-serif">Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109
Tel : +972 (9) 7692306
8272306
Email: <a href="mailto:ydary@redhat.com" target="_blank">ydary@redhat.com</a>
IRC : ydary</span></pre>
</div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Feb 1, 2016 at 9:21 AM, David Jorm <span dir="ltr"><<a href="mailto:djorm@iix.net" target="_blank">djorm@iix.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All<br>
<br>
Thanks for the help that people have recently provided on this list.<br>
I'm running into another edge case that, as far as I can see, does not<br>
have a native solution within oVirt. I have a use case where every VM<br>
must have 4 pinned vCPUs, and these must map 1:1 to physical CPUs so<br>
that there are never two VMs contending for the same physical cores. I<br>
already have code in place that ensures a VM will not be created or<br>
started if n/4 VMs are already running on the target host, where n is<br>
the number of physical cores. What I need now is to ensure that<br>
pinning is managed so that each physical core maps 1:1 to vCPUs.<br>
<br>
Would it be possible to manage the pool of physical cores in a local<br>
DB, and implement a VDSM hook similar to the example on this page?<br>
<br>
<a href="http://www.ovirt.org/VDSM-Hooks" rel="noreferrer" target="_blank">http://www.ovirt.org/VDSM-Hooks</a><br>
<br>
Or would there be a preferable solution?<br>
<br>
Thanks<br>
David<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote></div><br></div>