[Mesa-dev] [PATCH] r600g: fix abysmal performance in Reaction Quake
j.glisse at gmail.com
Fri Nov 9 12:44:30 PST 2012
On Thu, Nov 01, 2012 at 03:13:31AM +0100, Marek Olšák wrote:
> On Thu, Nov 1, 2012 at 2:13 AM, Alex Deucher <alexdeucher at gmail.com> wrote:
> > On Wed, Oct 31, 2012 at 8:05 PM, Marek Olšák <maraeo at gmail.com> wrote:
> >> The problem was we set VRAM|GTT for relocations of STATIC resources.
> >> Setting just VRAM increases the framerate 4 times on my machine.
> >> I rewrote the switch statement and adjusted the domains for window
> >> framebuffers too.
> > Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> > Stable branches?
> Yes, good idea.
Btw as a follow up on this, i did some experiment with ttm and eviction.
Blocking any vram eviction improve average fps (20-30%) and minimum fps
(40-60%) but it diminish maximum fps (100%). Overall blocking eviction
just make framerate more consistant.
I then tried several heuristic on the eviction process (not evicting buffer
if buffer was use in the last 1ms, 10ms, 20ms ..., sorting lru differently
btw buffer used for rendering and auxiliary buffer use by kernel, ...
none of those heuristic improved anything. I also removed bo wait in the
eviction pipeline but still no improvement. Haven't time to look further
but anyway bottom line is that some benchmark are memory tight and constant
(used unigine heaven and reaction quake for benchmark)
More information about the mesa-dev