summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPing Gao <ping.a.gao@intel.com>2017-05-24 09:14:11 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-06-08 13:59:17 +0800
commitf100daec9c9a5bbf1a715323cb6102e99933fdb3 (patch)
treeda24885ccba647fb954016949f068118315b896e /tools/perf/scripts/python/export-to-postgresql.py
parentc713cb2f9b7e1e9ffa8a379cecb13bc6eacd49b6 (diff)
drm/i915/gvt: Trigger scheduling after context complete
The time based scheduler poll context busy status at every micro-second during vGPU switch, it will make GPU idle for a while when the context is very small and completed before the next micro-second arrival. Trigger scheduling immediately after context complete will eliminate GPU idle and improve performance. Create two vGPU with same type, run Heaven simultaneously: Before this patch: +---------+----------+----------+ | | vGPU1 | vGPU2 | +---------+----------+----------+ | Heaven | 357 | 354 | +-------------------------------+ After this patch: +---------+----------+----------+ | | vGPU1 | vGPU2 | +---------+----------+----------+ | Heaven | 397 | 398 | +-------------------------------+ v2: Let need_reschedule protect by gvt-lock. Signed-off-by: Ping Gao <ping.a.gao@intel.com> Signed-off-by: Weinan Li <weinan.z.li@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions