[PATCH v5 0/8] make performance is associated with vGPU type
Gao, Ping A
ping.a.gao at intel.com
Tue Mar 28 07:10:02 UTC 2017
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.
On 2017/3/28 14:47, Gao, Ping A wrote:
> 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 (8):
> 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: introduce the vGPU LRU list
> 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: let timeslice usage control vGPU scheduling
>
> 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 | 343 +++++++++++++++++++++++++++-----
> drivers/gpu/drm/i915/gvt/sched_policy.h | 2 +
> drivers/gpu/drm/i915/gvt/vgpu.c | 85 +++++++-
> 7 files changed, 407 insertions(+), 59 deletions(-)
>
More information about the intel-gvt-dev
mailing list