<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-04-15 3:03 GMT+08:00 Jay Pipes <span dir="ltr"><<a href="mailto:jaypipes@gmail.com" target="_blank">jaypipes@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 04/12/2017 10:53 PM, 文峰sx-9149 wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">
Will the openstack or libvirt (kvm) support NVIDIA VGPU?<br>
I am here<br></span>
<<a href="https://www.redhat.com/archives/libvir-list/2016-August/msg00939.html" rel="noreferrer" target="_blank">https://www.redhat.com/archiv<wbr>es/libvir-list/2016-August/<wbr>msg00939.html</a>> to see a mail introduction libvirt kvm support VGPU.<span class="gmail-"><br>
But I do not know the current development situation of this feature.<br>
Who can tell me about VGPU in Openstack?<br>
Thanks.<br>
</span></blockquote>
<br>
A number of things need to happen before vGPU resources are a reality in OpenStack/Nova. In order, they are:<br>
<br>
1) Completion of the "traits framework" for resource providers [1]. This should be completed in Pike.<br></blockquote><div><br></div><div>yea, the traits API already merged, just left one patch <a href="https://review.openstack.org/#/q/project:openstack/nova+branch:master+topic:bp/resource-provider-traits">https://review.openstack.org/#/q/project:openstack/nova+branch:master+topic:bp/resource-provider-traits</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
2) Completion of the "nested resource providers framework" [2]. This is critical because physical GPUs (or physical GPU *groups* in the case of XenServer) are child providers to the compute node resource provider and need to be tracked in a hierarchical relationship for resource accounting purposes. It is a stretch goal to get this work complete for Pike.<br>
<br>
3) The spec for VGPU resources needs to be approved and merged [3]. This should happen today or Monday.<br>
<br>
4) The os-traits library [4] needs to have GPU traits added to it. Jianghua from Citrix and myself are working on this.<br>
<br>
5) The virt driver's get_inventory() methods [5] need to be reworked to account for physical GPUs (or physical GPU groups in the case of XenServer) having a set inventory of VGPU resources for each unique combination of max resolution size and other traits.<br>
<br>
6) The flavor extra specs and image metadata need to be updated to allow an admin to configure and a user to request one or more VGPU resources from a VGPU resource provider having a set of required traits.<br></blockquote><div><br></div><div>This spec <a href="https://review.openstack.org/#/c/351063/">https://review.openstack.org/#/c/351063/</a> is going to enable configure the flavor include a set of required traits or preferred traits. But it is abandoned by you, I'm not sure the reason yet, try to catch you later.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Best,<br>
-jay<br>
<br>
[1] <a href="https://blueprints.launchpad.net/nova/+spec/resource-provider-traits" rel="noreferrer" target="_blank">https://blueprints.launchpad.n<wbr>et/nova/+spec/resource-provide<wbr>r-traits</a><br>
[2] <a href="https://blueprints.launchpad.net/nova/+spec/nested-resource-providers" rel="noreferrer" target="_blank">https://blueprints.launchpad.n<wbr>et/nova/+spec/nested-resource-<wbr>providers</a><br>
[3] <a href="https://review.openstack.org/#/c/450122/" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/450122/</a><br>
[4] <a href="https://github.com/openstack/os-traits" rel="noreferrer" target="_blank">https://github.com/openstack/o<wbr>s-traits</a><br>
[5] <a href="https://github.com/openstack/nova/blob/master/nova/virt/driver.py#L778" rel="noreferrer" target="_blank">https://github.com/openstack/n<wbr>ova/blob/master/nova/virt/driv<wbr>er.py#L778</a><div class="gmail-HOEnZb"><div class="gmail-h5"><br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</div></div></blockquote></div><br></div></div>