Re: [Mesa-dev] [PATCH] winsys/amdgpu: enlarge buffer_indices_hashlist

2016-03-08 Thread Marek Olšák
Pushed. Do you even have push access? Marek On Wed, Mar 9, 2016 at 12:50 AM, Marek Olšák wrote: > Reviewed-by: Marek Olšák > > Marek > > On Tue, Mar 8, 2016 at 4:01 PM, Bas Nieuwenhuizen > wrote: >> Enlarge the buffer hashlist to prevent large numbers of misses >> due to adding more buffers t

Re: [Mesa-dev] [PATCH] winsys/amdgpu: enlarge buffer_indices_hashlist

2016-03-08 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Tue, Mar 8, 2016 at 4:01 PM, Bas Nieuwenhuizen wrote: > Enlarge the buffer hashlist to prevent large numbers of misses > due to adding more buffers than can be cached in the hashlist. > > The game I tested had CS's with up to 1500 buffers and the overhead > of

[Mesa-dev] [PATCH] winsys/amdgpu: enlarge buffer_indices_hashlist

2016-03-08 Thread Bas Nieuwenhuizen
Enlarge the buffer hashlist to prevent large numbers of misses due to adding more buffers than can be cached in the hashlist. The game I tested had CS's with up to 1500 buffers and the overhead of amdgpu_lookup_buffer for various sizes was: 4096 1.97% (new value) 2048 4.37% 1024 6.92% 512 9.47%