What's wrong with xkbcomp?

Daniel Stone daniel at fooishbar.org
Wed Sep 24 01:08:28 PDT 2008


On Wed, Sep 24, 2008 at 02:18:43AM +0300, Daniel Stone wrote:
> On Tue, Sep 23, 2008 at 09:35:12PM +0100, Simos Xenitellis wrote:
> > An issue that is often discussed is the xkbcomp utility, that parses
> > the xkeyboard-config configuration files
> > and produces a binary XKM file that X.Org can read and take the
> > keyboard layout settings from there.
> > 
> > Apparently, xkbcomp has performance issues when running on small devices.
> > On modern computers, xkbcomp is very fast. In the process of
> > diagnosing where the problem is,
> > I would like to ask for a sample of command-line options
> > that are used when you try to run xkbcomp on a small device.
> > 
> > So, what parameters do you give to xkbcomp when you invoke it on these
> > small devices?
> 
> setxkbmap -print | xkbcomp -xkb - foo.txt 2>/dev/null still takes 0.1sec
> on my laptop, with a completely warm cache.  With a cold cache, it takes
> around 1.3sec.  Given that we currently run this twice on startup, that's
> 1.4sec just compiling keymaps.  Ugh.

Bear in mind also that this is on my laptop, not on an N800.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080924/80c6a79f/attachment.pgp>


More information about the xorg mailing list