[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: [PATCH] Ensure blitter quiescience before reading pixels from the
From:       Daniel Stone <daniel () fooishbar ! org>
Date:       2007-07-31 13:58:32
Message-ID: 20070731135832.GO5898 () fooishbar ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tue, Jul 31, 2007 at 03:07:48PM +0200, Bernardo Innocenti wrote:
> Michel Dänzer wrote:
> > Probably, but does it incur a measurable penalty? The CPU is supposed to
> > be ahead of the GPU anyway.
> 
> On the OLPC, it may not be the case: we have a very weak CPU along with a
> somewhat better blitter.  It's probably the same with most embedded devices.

Not really (and not that the OLPC is at all embedded: it's a laptop in
both physical and power profile).  On the N800, at least, the CPU is
vastly ahead of what the in-built GPU can do, and we don't see that
changing at all further down the track, until we start using the PowerVR
3D core.

(Due to an architectural limitation, this turns out not to matter
 anyway, as we can only push so many pixels to the screen per second,
 but, details.)

> > I guess it's just not feasible to accurately estimate performance from
> > code inspection. It needs to be measured.
> 
> I wanted to do it at some point, but running oprofile on slow hardware is
> quite painful.  And, still, you need to do some guessing when you interpret
> the results.

How is it painful?  Works just fine for me.  Of course, running
oprofile's UI on the device itself is insanity, but oprofile itself, and
interpeting the results somewhere else, works just fine.

> For instance, I expect to see a lot of time spent in the driver, but mostly
> because EXA is asking it to do spurious uploads of small bitmaps.

Reality frequently fails to match expectations.

Cheers,
Daniel

["signature.asc" (application/pgp-signature)]

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic