[PATCH v6 0/7] make performance is associated with vGPU type
Tian, Kevin
kevin.tian at intel.com
Thu Mar 30 01:34:46 UTC 2017
> From: Ping Gao
> Sent: Thursday, March 30, 2017 12:37 AM
>
> v6: 1. use single LRU list to simplify the logic.
> 2. address all other comments from Kevin.
Thanks Ping. This is a much cleaner version. I've given my reviewed-by
to all patches. :-)
>
> v5: 1. use ktime to replace get_cycles.
> 2. remove idle_vgpu from schedule queue and simplify some logic.
> 3. Proper define weight and it's limitation.
>
> v4: 1. re-arrange the patch order, put the weight interface before
> the weight implementation.
> 2. Define fixed weight according to the fixed vGPU type.
>
> v3: 1. rename dummy vGPU to idle vGPU.
> 2. introduce an enum for num_vgpu_sched.
> 3. rename some structure and function.
> 4. comments elaborating.
> 5. didnot add statitic interface as no per-vgpu interface exist.
>
> v2:
> 1. use hrtimer to replace delay_work to trigger scheduler.
> 2. introduce dummy vGPU to help handle performance control.
> 3. introduce vGPU LRU list to handle longest unsched vGPU.
> 4. Test result(stability and precision) seems good.
>
> v1:
> 1. Currrently, scheduler is triggered by delay_work, it's only can be
> accurate at 10ms level, so have to change the scheduler period to
> 10ms, it will have stability impact.
> 2. Test two vGPU type 2 and type 5, the fps of tropic in two guest show
> about 5:2, it's workable but the precision is not good.
>
> TODO: 1. Use htimer replace the delay_work to trigger scheduler.
> 2. Create dummy vGPU to help caculation.
>
> Ping Gao (7):
> drm/i915/gvt: use hrtimer replace delayed_work in scheduler
> drm/i915/gvt: add some statistic routine for scheduler
> drm/i915/gvt: factor out the scheduler
> drm/i915/gvt: define weight according to vGPU type
> drm/i915/gvt: add basic function for weight control
> drm/i915/gvt: create an idle vGPU
> drm/i915/gvt: control the scheduler by timeslice usage
>
> drivers/gpu/drm/i915/gvt/gvt.c | 16 +++
> drivers/gpu/drm/i915/gvt/gvt.h | 13 ++
> drivers/gpu/drm/i915/gvt/handlers.c | 1 +
> drivers/gpu/drm/i915/gvt/kvmgt.c | 6 +-
> drivers/gpu/drm/i915/gvt/sched_policy.c | 229 +++++++++++++++++++++++-
> --------
> drivers/gpu/drm/i915/gvt/sched_policy.h | 2 +
> drivers/gpu/drm/i915/gvt/vgpu.c | 85 +++++++++++-
> 7 files changed, 282 insertions(+), 70 deletions(-)
>
> --
> 2.7.4
>
> _______________________________________________
> intel-gvt-dev mailing list
> intel-gvt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev
More information about the intel-gvt-dev
mailing list