radeon EXA performance questions

Michel Dänzer michel at tungstengraphics.com
Mon Aug 4 23:41:12 PDT 2008


On Mon, 2008-08-04 at 12:55 -0400, Owen Taylor wrote:
> On Mon, 2008-08-04 at 11:36 +0200, Michel Dänzer wrote:
> > On Fri, 2008-08-01 at 12:40 +0200, Simon Thum wrote:
> > > Michel Dänzer wrote:
> > > > 
> > > >> complex app takes 1/3 sec or even more). Obviously some ops are still 
> > > >> suboptimal. Is there interest in oprofile data?
> > > > 
> > > > Sure, though I prefer sysprof (or at least output from opreport -c as
> > > > well as opreport -l).
> > > Said, done. I didn't experience the dropout, but this profile should 
> > > capture what I mean. I switched eclipse, firefox and thunderbird, 
> > > scrolling a lot in the latter over this lovely mailing list. This is a 
> > > particular slow thing in EXA, roughly comparable to unpatched XAA with 
> > > offscreen pixmaps.
> > 
> > Note that every profile should be limited to a single isolated action as
> > much as possible in order to maximize its usefulness.
> > 
> > This profile shows 40% of the cycles spent copying data from video RAM
> > to system RAM for GetImage (Not sure what that's used for in the actions
> > described above...).
> 
> Firefox uses GetImage when drawing "natively themed" widgets in a web
> page, like buttons or input boxes. (It draws them with GTK+ to a pixmap,
> then gets the image from there and composites it into a page.)

Hmm, couldn't it render from the pixmap directly?


> I can't find the actual profile in the list archives, so I'm not sure if
> the CPU time is waiting for the GPU to go idle, or it's actually
> spent in the copying itself, which would indicate a different sort of
> problem ... perhaps cairo is using extensive software fallbacks for some
> reason.

Most of it was in libc, i.e. the memcpy for copying data from video RAM
to system RAM for GetImage. Enabling the DRI and AccelDFS should most
likely reduce that somewhat, but of course you're right that this may
not necessarily improve things otherwise. We'll have to see. :)


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer




More information about the xorg mailing list