Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-10-02 Thread Mooney, Sean K
> -Original Message- > From: Dan Smith [mailto:d...@danplanet.com] > Sent: Monday, October 2, 2017 3:53 PM > To: OpenStack Development Mailing List (not for usage questions) > > Subject: Re: [openstack-dev] vGPUs support for Nova - Implementation > > >>

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-10-02 Thread Dan Smith
>> I also think there is value in exposing vGPU in a generic way, irrespective >> of the underlying implementation (whether it is DEMU, mdev, SR-IOV or >> whatever approach Hyper-V/VMWare use). > > That is a big ask. To start with, all GPUs are not created equal, and > various vGPU functionality

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-10-02 Thread Sahid Orentino Ferdjaoui
On Fri, Sep 29, 2017 at 04:51:10PM +, Bob Ball wrote: > Hi Sahid, > > > > a second device emulator along-side QEMU. There is no mdev > > > integration. I'm concerned about how much mdev-specific functionality > > > would have to be faked up in the XenServer-specific driver for vGPU to > >

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-10-02 Thread Blair Bethwaite
On 29 September 2017 at 22:26, Bob Ball wrote: > The concepts of PCI and SR-IOV are, of course, generic, but I think out of > principal we should avoid a hypervisor-specific integration for vGPU (indeed > Citrix has been clear from the beginning that the vGPU integration we are > proposing is i

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-10-02 Thread Sahid Orentino Ferdjaoui
On Fri, Sep 29, 2017 at 11:16:43AM -0400, Jay Pipes wrote: > Hi Sahid, comments inline. :) > > On 09/29/2017 04:53 AM, Sahid Orentino Ferdjaoui wrote: > > On Thu, Sep 28, 2017 at 05:06:16PM -0400, Jay Pipes wrote: > > > On 09/28/2017 11:37 AM, Sahid Orentino Ferdjaoui wrote: > > > > Please conside

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-09-29 Thread Bob Ball
Hi Sahid, > > a second device emulator along-side QEMU. There is no mdev > > integration. I'm concerned about how much mdev-specific functionality > > would have to be faked up in the XenServer-specific driver for vGPU to > > be used in this way. > > What you are refering with your DEMU it's

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-09-29 Thread Sahid Orentino Ferdjaoui
On Fri, Sep 29, 2017 at 12:26:07PM +, Bob Ball wrote: > Hi Sahid, > > > Please consider the support of MDEV for the /pci framework which provides > > support for vGPUs [0]. > > From my understanding, this MDEV implementation for vGPU would be > entirely specific to libvirt, is that correct?

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-09-29 Thread Jay Pipes
Hi Sahid, comments inline. :) On 09/29/2017 04:53 AM, Sahid Orentino Ferdjaoui wrote: On Thu, Sep 28, 2017 at 05:06:16PM -0400, Jay Pipes wrote: On 09/28/2017 11:37 AM, Sahid Orentino Ferdjaoui wrote: Please consider the support of MDEV for the /pci framework which provides support for vGPUs [

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-09-29 Thread Dan Smith
The concepts of PCI and SR-IOV are, of course, generic They are, although the PowerVM guys have already pointed out that they don't even refer to virtual devices by PCI address and thus anything based on that subsystem isn't going to help them. but I think out of principal we should avoid a

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-09-29 Thread Bob Ball
Hi Sahid, > Please consider the support of MDEV for the /pci framework which provides > support for vGPUs [0]. From my understanding, this MDEV implementation for vGPU would be entirely specific to libvirt, is that correct? XenServer's implementation for vGPU is based on a pooled device model

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-09-29 Thread Sylvain Bauza
On Fri, Sep 29, 2017 at 2:32 AM, Dan Smith wrote: > In this serie of patches we are generalizing the PCI framework to >>> handle MDEV devices. We arguing it's a lot of patches but most of them >>> are small and the logic behind is basically to make it understand two >>> new fields MDEV_PF and MDE

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-09-29 Thread Sahid Orentino Ferdjaoui
On Thu, Sep 28, 2017 at 05:06:16PM -0400, Jay Pipes wrote: > On 09/28/2017 11:37 AM, Sahid Orentino Ferdjaoui wrote: > > Please consider the support of MDEV for the /pci framework which > > provides support for vGPUs [0]. > > > > Accordingly to the discussion [1] > > > > With this first implement

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-09-28 Thread Dan Smith
In this serie of patches we are generalizing the PCI framework to handle MDEV devices. We arguing it's a lot of patches but most of them are small and the logic behind is basically to make it understand two new fields MDEV_PF and MDEV_VF. That's not really "generalizing the PCI framework to hand

Re: [openstack-dev] vGPUs support for Nova - Implementation

2017-09-28 Thread Jay Pipes
On 09/28/2017 11:37 AM, Sahid Orentino Ferdjaoui wrote: Please consider the support of MDEV for the /pci framework which provides support for vGPUs [0]. Accordingly to the discussion [1] With this first implementation which could be used as a skeleton for implementing PCI Devices in Resource Tr

[openstack-dev] vGPUs support for Nova - Implementation

2017-09-28 Thread Sahid Orentino Ferdjaoui
Please consider the support of MDEV for the /pci framework which provides support for vGPUs [0]. Accordingly to the discussion [1] With this first implementation which could be used as a skeleton for implementing PCI Devices in Resource Tracker we provide support for attaching vGPUs to guests. An