[Intel-gfx] [PATCH] drm/i915: Use hash tables for the command parser

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Thu May 8 15:42:16 CEST 2014


On 04/28/2014 04:22 PM, bradley.d.volkin at intel.com wrote:
> From: Brad Volkin <bradley.d.volkin at intel.com>
>
> For clients that submit large batch buffers the command parser has
> a substantial impact on performance. On my HSW ULT system performance
> drops as much as ~20% on some tests. Most of the time is spent in the
> command lookup code. Converting that from the current naive search to
> a hash table lookup reduces the performance impact by as much as ~10%.

I have another question - what about register lookups, do they come up 
in profiling as significant?

Regards,

Tvrtko



More information about the Intel-gfx mailing list