cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Turner <Stephen.Tur...@citrix.com>
Subject RE: Review Request 17889: CLOUDSTACK-4762: Enabling vGPU support for XenServer.
Date Thu, 13 Mar 2014 11:59:13 GMT
I believe XenServer exposes everything you need in the VGPU_type class:

# xe vgpu-type-list params=all
uuid ( RO)                       : 6e175f2c-e8f1-2dce-aadf-8a8962b6f0e8
                vendor-name ( RO): NVIDIA Corporation
                 model-name ( RO): GRID K260Q
           framebuffer-size ( RO): 2013265920
                  max-heads ( RO): 4
             max-resolution ( RO): 2560x1600
         supported-on-PGPUs ( RO): b3fcca33-5fd6-9c44-70ac-c873f967d152; 8a436468-546b-ae69-2ab5-4e1d66d1a0eb;
37fbb55a-edf6-1aff-b80c-4f45ad46fc58; 6be9966b-f8bd-157a-5274-e927e57c28dd
           enabled-on-PGPUs ( RO): b3fcca33-5fd6-9c44-70ac-c873f967d152; 8a436468-546b-ae69-2ab5-4e1d66d1a0eb;
37fbb55a-edf6-1aff-b80c-4f45ad46fc58; 6be9966b-f8bd-157a-5274-e927e57c28dd
    supported-on-GPU-groups ( RO): 41c93ffe-23fe-2c50-674e-a8640e53b64f
      enabled-on-GPU-groups ( RO): 41c93ffe-23fe-2c50-674e-a8640e53b64f
                 VGPU-uuids ( RO): 

framebuffer-size is the video RAM.

The number of vGPUs of a particularly type that can be supported on a pGPU (the fraction of
the GPU you get, if you like to think of it that way), is in the GPU class as supported_VGPU_max_capacities.

XenCenter has none of this knowledge hard coded, so anything visible in XenCenter comes from
XenServer over the XenAPI.

-- 
Stephen Turner


-----Original Message-----
From: Ram Ganesh [mailto:Ram.Ganesh@citrix.com] 
Sent: 13 March 2014 09:55
To: dev@cloudstack.apache.org
Cc: Sanjay Tripathi; Sateesh Chodapuneedi
Subject: RE: Review Request 17889: CLOUDSTACK-4762: Enabling vGPU support for XenServer.

If we look at [1] section "Interoperability and compatibility requirements" each of the cards
supports certain profiles which has underpinning to Video RAM it supports, no of vGPUs that
can be supported on one physical GPU. These mapping are maintained in CS. This mapping is
required for the planner to pick a host which has the required resources to deploy a VM. 
Currently XenServer does not expose the Video RAM that each profile supports. Once we have
that and all other loose ends around resources available vs used are taken care of then we
can try to dynamically learn the lists from the hosts.

[1] https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+support+for+CloudStack+Guest+VMs


Mime
View raw message