[PATCH] EXA: Defragment offscreen memory.

Michel Dänzer michel at daenzer.net
Tue Feb 17 23:49:06 PST 2009


On Tue, 2009-02-17 at 21:52 +0000, Nix wrote:
> On 17 Feb 2009, Michel Dänzer said:
> > On Sat, 2009-02-14 at 19:03 +0100, Michel Dänzer wrote:
> >> It shouldn't be too expensive usually and will only actually run at
> >> most once per second anyway, [...]
> >
> > Given this (and that 'Nix' hasn't complained about the BlockHandler
> > overhead :), I'd suggest trying this, and if people complain about weird
> > delays every second, we can reduce the frequency further or even remove
> > the BlockHandler defragmentation run altogether. Sounds good?
> 
> Well, defragmenting once every 20ms seems kind of excessive to me, but I
> suppose it won't have much to do in terms of bulk memory moves if the
> server is idle.

Again, it only runs once per second at most. Unless there's a bug in
that logic.

> I have noticed a slight increase in idle X server CPU consumption (it
> eats about 5% of my Athlon's CPU now even if nothing is happening and
> the screen is black), but compared to the immense amount that merely
> scrolling guzzled before that is acceptable. I haven't noticed any
> rendering delays though, so maybe the CPU load is coming from something
> else.
> 
> (but still, it would be nice to fix. I'll give the server a profile
> sometime and see where that black-screen load is coming from.)

Yeah, a profile would be interesting.


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


More information about the xorg-devel mailing list