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

List:       freedesktop-xorg
Subject:    Re: EXA
From:       Lukas Hejtmanek <xhejtman () ics ! muni ! cz>
Date:       2007-08-07 18:45:40
Message-ID: 20070807184539.GA3872 () ics ! muni ! cz
[Download RAW message or body]

On Tue, Aug 07, 2007 at 11:30:46AM +0200, Michel Dänzer wrote:
> P.S. I still doubt this is the bottleneck of your virtual desktop
> switching, as the numbers you're getting translate to filling the screen
> in just tens of milliseconds.

So, I did profiling of virtual desktop switching.

It has problems at two places.

1) exaCopyDirtyToSys calls exaMemcpyBox which uses plain memcpy instead of
   pixman_blt_mmx. Which is result of initial call to GetImage.

   Btw, is it possible to expose offscreen pixmap to the application so that
   PutImage and GetImage can be safely ignored?

2) I830WaitLpRing consumes too much CPU because of too frequent calls of
   GetTimeInMillis.

   I think that initial approach to optimization could be to call only
   GetTimeInMillis each 1000th iteration or something like that.

   Is it possible to completely avoid busy-loop or chip does not support
   anything else than busy-loop?

-- 
Lukáš Hejtmánek
_______________________________________________
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