Optimising xserver (Xft text rendering improvements)

Adam Jackson ajax at nwnk.net
Fri Mar 25 09:21:03 PST 2005


On Tuesday 22 March 2005 08:49, Richard Purdie wrote:
> I've been looking into where the Kdrive xserver spends its time under
> different loads. This was specifically on an arm processor based system but
> most of  the results apply in general. I've detailed what I found below.

Good work, thanks for looking into this.

> Passing 12 arguments to a function really is a performance killer and I'd
> like to think this could be kept in mind when further developing xserver
> (or any software in general!).

Yes, definitely.  There are lots of places where we do things that are 
stylistically fine but that don't generate good code at all.  The software 
Render path is the egregious offender, but there are others.

> I'd like to hope some of these findings could be worked back into the
> server. I'm posting them here in the hope it generates some discussion and
> if any of the features are found to be acceptable I can create a patch
> containing those features.

I've got a few ideas about ways to improve the fb layer, and the loadable 
modules in general:

https://bugs.freedesktop.org/show_bug.cgi?id=2749

Like all good changes this has the possibility of breaking an ABI, so I'd 
appreciate some more eyes on it.  Your changes are complementary to what I've 
been thinking about so I'd like to merge them in eventually.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20050325/f936adf2/attachment.pgp>


More information about the xorg mailing list