Marcin Slusarz
2011-Oct-29 17:08 UTC
[Nouveau] "enable ctxprog xfer only when we need it to save power" introduces big performance regression
Hi I've bisected pretty big performance regression (nv92): $ git bisect good b2737681d5442f05ab6419e05468c3d2511a5ced is the first bad commit commit b2737681d5442f05ab6419e05468c3d2511a5ced Author: Martin Peres <martin.peres at ensi-bourges.fr> Date: Sat Jul 30 23:08:45 2011 +0200 drm/nv50/gr: enable ctxprog xfer only when we need it to save power This patch adds instructions to ctxprog and by doing, impacts context switching performance. My testcase showed a 1% performance cost using glxgears that is a context-switch bound application. Please test and report bugs/performance/power/other. Many thanks to Maxim Levitsky for his dedicated work on lowering power consumption with nouveau. More patches are coming thanks to his work: https://bugs.freedesktop.org/show_bug.cgi?id=37922 Signed-off-by: Martin Peres <martin.peres at ensi-bourges.fr> Signed-off-by: Ben Skeggs <bskeggs at redhat.com> :040000 040000 3fcd1388cf04c71cb7a11f29f7be6033c948f119 418a527ee5970eabaa0eb6f8cb3dc96b4da523ea M drivers The numbers are (FPS): nexuiz: 61 -> 49 (-19%) xonotic: 59 -> 37 (-37%) openarena: 163 -> 127 (-22%) world of padman: 242 -> 181 (-25%) warsow: 91 -> 61 (-32%) glxgears: 1198 -> 1107 (- 7%) Now, what can we do about it? Marcin
Marcin Slusarz
2011-Oct-29 17:29 UTC
[Nouveau] "enable ctxprog xfer only when we need it to save power" introduces big performance regression
On Sat, Oct 29, 2011 at 07:08:01PM +0200, Marcin Slusarz wrote:> Hi > > I've bisected pretty big performance regression (nv92): > > $ git bisect good > b2737681d5442f05ab6419e05468c3d2511a5ced is the first bad commit > commit b2737681d5442f05ab6419e05468c3d2511a5ced > Author: Martin Peres <martin.peres at ensi-bourges.fr> > Date: Sat Jul 30 23:08:45 2011 +0200 > > drm/nv50/gr: enable ctxprog xfer only when we need it to save powerWeird, reverting it on top of current git does not restore it - in glxgears it's even worse (-~50%). Marcin
Maybe Matching Threads
- [PATCH] drm/nv40: allocate ctxprog with kmalloc
- [PATCH] drm/nouveau: provide ctxprog/ctxvals in ihex format
- [TEST REQUEST] NV50/NV8x/NV9x/NVAx ctxprog and ctxvals generator
- [TEST REQUEST] NV50/NV8x/NV9x ctxprog and ctxvals generator
- [Bug 75761] weston-launch no output - black screen