[PATCH v5 5/8] drm/i915/gvt: define weight according to vGPU type
Tian, Kevin
kevin.tian at intel.com
Wed Mar 29 03:05:44 UTC 2017
> From: Gao, Ping A
> Sent: Tuesday, March 28, 2017 4:01 PM
>
> On 2017/3/28 15:34, Zhenyu Wang wrote:
> > On 2017.03.28 14:47:35 +0800, Ping Gao wrote:
> >> The weight define proportional control of the vGPU resource between
> >> vGPUs, different vGPU types has different fixed weight definition.
> >> If different type vGPUs been created at the same time, the vGPU
> >> resource ratio between them is equal with ratio of weight.
> >>
> >> e.g. The weight of type GVTg_V5_2 is 8, the weight of type GVTg_V5_4
> >> is 4, so vGPU of type GVTg_V5_2 has double vGPU resource of vGPU type
> >> GVTg_V5_4.
> >>
> > As I've pushed fix to change v8 type size, this causes conflict, could
> > you rebase against current gvt-staging? Thanks!
>
> OK, next version will make sure base on the newest base.
>
> >
> >> TODO: allow user control the weight setting in the future.
> >>
> > We will have per-mdev attribute group which can be used for this, but
> > clearly need some policy to control, e.g user capability, etc.
> >
>
> That's great , Could we add some statistics information here, like vGPU
> resource utilization?
>
I'd like to push those attributes not being Intel specific, since by definition
they are vendor agnostic though vendor specific driver may choose to
implement all, partial, or none. We can discuss it in VFIO/libvirt in next
step. :-)
Thanks
Kevin
More information about the intel-gvt-dev
mailing list