[Mesa-dev] [PATCH 00/11] glthread cleanup, 4 whitelisted games!

Marek Olšák maraeo at gmail.com
Thu Jun 22 01:02:55 UTC 2017


Hi,

This series:
- cleans up glthread, mainly switches the implementation to u_queue
  and rearranges it so that it looks like gallium/u_threaded_context
- adds "performance" counters for monitoring glthread behavior and
  display them on the gallium HUD
- decreases the batch size for much better scalability
- whitelists 4 games

Here are the games and the performance deltas:
    Alien Isolation: +17% (it varies depending on the location)
    Borderlands 2: +50% (it varies depending on the location)
    BioShock Infinite: +76% (benchmark)
    Civilization 6: +20% (benchmark)

I would add more games, but not all games benefit, some even regress,
and I'm not often CPU-bound.

I'd like to see TF2 and CS:GO on that list eventually, but those are
the only games where glthread gets automatically disabled (as can be
observed on the HUD).

I'd also like to whitelist "Borderlands: The pre-sequel" eventually,
it should benefit too, but we need to test it first.

I personally don't plan to spend more time on glthread again in the near
future. The HUD monitoring can be used for estimating potential
performance improvement for slower CPUs even if you specifically are
not CPU-bound.

Please review.

Marek


More information about the mesa-dev mailing list