On Sep 6, 2013, at 14:26 , "Daniel P. Berrange" 
<berra...@redhat.com<mailto:berra...@redhat.com>>
 wrote:

On Fri, Sep 06, 2013 at 10:56:10AM +0000, Alessandro Pilotti wrote:
The RemoteFX feature allows Hyper-V compute nodes to provide GPU acceleration 
to instances by sharing the host's GPU resources.

Blueprint: https://blueprints.launchpad.net/nova/+spec/hyper-v-remotefx

This feature provides big improvements for VDI related scenarios based on 
OpenStack and Hyper-V compute nodes.
It basically impacts on the driver code only plus an additional optional 
scheduler filter.

A full architectural description has been added in the blueprint.

The patch has been published during H3 on Aug 18th and initially reviewed
on Sept 4th with some very good ideas for improvements at a larger scale,
subsequently implemented on the same day, unfortunately too late in the cycle.

Simply adding the blueprint description is not sufficient to remove
my objections. The patch as proposed is too incomplete to be merged IMHO.
I pointed out a number of design flaws in the review. The updated info in
the blueprint just re-inforces my review points, to further demonstrate
why this patch should not be merged as it is coded today. It will require
non-negliglable additional dev work to address this properly I believe,
so I'm afraid that I think this is not suitable material for Havana at
this point in time.

I already committed an updated patch after your review on the 4th addressing 
your observations, agreeing that the initial implementation was missing 
flexibility (I only didn't commit the scheduler filter yet, as IMO it requires 
a separate dependent patch, but this can be done anytime).

To allow others to add their opinion easily, I'm following up here to your 
objections in the blueprint which basically can be reduced (correct me if I'm 
wrong) to the following positions, beside the areas on which we already agreed 
regarding scheduling and which have already been implemented:

1) You suggest to define the amount of RemoteFX GPU resources required in the 
flavour
2) I suggest to provide those requirements in the image custom properties 
(which is how it is currently implemented, see blueprint description as well).

Beside the fact that the two solutions are IMO not mutually exclusive as 
scheduling filters could simply apply both, the reason why I don't see how 
flavours should be considered for this patch is simple:

AFAIK Nova flavors at the moment don't support custom properties (please 
correct me if I'm wrong here, I looked at the flavors APIs and implementation, 
but I admit my ignorance in the flavor internals), so

1) Adding the remotefx requisites at the system metadata level 
https://github.com/openstack/nova/blob/master/nova/compute/flavors.py#L60 would 
be IMO wrong, as it would tightly couple a hypervisor specific limit with a 
generic compute API.
2) Adding custom properties to flavors goes way beyond the scope of this 
blueprint.

>From an administrative and ACL perspective, administrators can selectively 
>provide access to users to a given image, thus limiting the access to RemoteFX 
>GPU resources (video memory in primis).

Being able to do it ALSO at the flavour level would add additional granularity, 
e.g. assigning different screen resolutions, using a single image. I personally 
see this as a separate blueprint as it impacts on the design of a fundamental 
Nova feature that will need quite some discussion.


Thanks,

Alessandro


Regards,
Daniel
--
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org<mailto:OpenStack-dev@lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to