• Nvidia MiG Support

    Compute
    23
    0 Votes
    23 Posts
    6k Views
    andSmvA

    Hello, I'm honestly don't know how Citrix vGPU stuff works, but couple of thoughts on this topic:

    If I understand correctly, you say Nvidia use VFIO Linux framework to enable mediated devices which can be exported to guest. The VFIO framework isn't supported by XEN, as VFIO need the presense of IOMMU device managed by IOMMU Linux kernel driver. And XEN doesn't proide/virtualize IOMMU access to dom0 (XEN manages IOMMU by itself, but doesn't offer such access to guests)

    Bascally to export SR-IOV virtual function to guest with XEN you don't have to use VFIO, you can just assign the virtual function PCI "bdf" id to guest and normally the guest should see this device.

    From what I understand Nvidia user-mode toolstack (scripts & binaries) doesn't JUST create SR-IOV virtual functions, but want to access VFIO/MDEV framework, so all this thing fails.

    So may be, you can check if you there's some options with Nvidia tools to just create SR-IOV functions, OR try to run VFIO in "no-iommu" mode (no IOMMU presence in Linux kernel required)

    BTW, we working on some project where we are intending to use VFIO with dom0, and so we're implementing the IOMMU driver in dom0 kernel, so it would be interesting to know in the future, if this can help with your case.

    Hope this help

  • Grid K1/K2 GPU Passthrough

    Compute
    2
    0 Votes
    2 Posts
    659 Views
    DynodixD

    @toby4213

    It would show as many GPU as phisical procesors available.

    Also what performance could I expect from one VM with a passed through GPU?
    Regarding the use of GPU full , other performace depends of other resurces alocated for the VM. (disk, memory,...)

    With passthrough does NVENC work in the VM?
    YES

    With the use of docker you can do as 20 nvenc per GPU... with K1,, we do 14 max with K2200 (1 GPU visible and passed thru to one machine)