Openstack Graphical processors virtualisation

Sean Mooney smooney at redhat.com
Wed Aug 10 10:23:20 UTC 2022


our main vgpu expert is on PTO for a few weeks but ill try and respond inline.

On Wed, Aug 10, 2022 at 8:07 AM Alvaro Soto <alsotoes at gmail.com> wrote:
>
> Hey, just a little help with one question.
>
> 1-
> https://docs.openstack.org/nova/yoga/admin/virtual-gpu.html
> https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html/instances_and_images_guide/ch-virtual_gpu
yep thos are the docs for nova's vGPU support we also support  pci
passthough of a full gpu to a vm for usecause that need that.
>
> On Wed, Aug 10, 2022 at 1:17 AM KK CHN <kkchn.in at gmail.com> wrote:
>>
>> 1. Does Openstack support GPU virtualization ? We are running a cloud using ussuri with KVM hypervisors. Is creation of vGPUs possible?

yes  if you have an nvidia gpu and pay for there licnese server ectra
you can config nova to expose those vgpus to the guests.
if you have amd gpus and those support there mxgpu feature then that
just exposes the vGPUs as stanard sriov VFs instead of vfio-mediated
devices
so you use pci passthough instead of the vGPU mdev feature in that
case to consume them.
>>
>> Does KVM support GPU virtualization or any limitations?
yes however nvidia have not yet upstream support for vgpu/mdev live
migration. redhat nvidia and others are currently activly working on
upstreamoing that to the kernel
qemu and libvirt but that is the main limiation. depending on your
release nova also does not support move operations like cold migration
however those have been
added in more recent releases.
>>
>> 2. What are the supported GPU types? (GRID GPU or GPUs attached to physical blades )
both
>>
>> 3. If it supports GPU attached to physical blades, will live migration of the VM be supported.Will OpenStack be able to identify the next host which has an attached GPU and perform live migration, in case of the Failure of One Blade with attached GPU with resident VM.

no live migration is not possibel with mdev or sriov vf attachment currently.
cold migration and evacuate are supported in more recent releases of
openstack in the case of maintance or hardware failure.
>>
>> 4.  What are the virtualization options if vGPU options are not supported by a particular GPU model?
pci passthough of the fulll gpu or sriov if the card supprots that.
>>
>>
>> Thanks in advance,
>> Krish
>
>
>
> --
>
> Alvaro Soto
>
> Note: My work hours may not be your work hours. Please do not feel the need to respond during a time that is not convenient for you.
> ----------------------------------------------------------
> Great people talk about ideas,
> ordinary people talk about things,
> small people talk... about other people.




More information about the openstack-discuss mailing list