[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#763695: console-setup: even worse than assumed



Hallo,
* Anton Zinoviev [Mon, Aug 24 2015, 01:24:15PM]:
> On Sun, Aug 23, 2015 at 02:02:30AM +0200, Cyril Brulebois wrote:
> > 
> > > $ grep ioctl log | wc -l
> > > 14035
> > > OVER 9000 ioctls! Are you kidding me?
> 
> Console-setup is definitely not THAT slow.

It is. Kind of.

I checked again... about 20% of the time is spent in two calls of pidof
which IMHO on Linux can be easily replaced with ONE simple
readlink /proc/*/exe | grep bin/.?splashy?

And about 70% is spent by loadkeys executing the mentioned storm of ioctls.

> Unless your directory /etc/console-setup/ doesn't contain a cached keymap

It's there. Just look at the strace log I mentioned before, here:
https://www.unix-ag.uni-kl.de/~bloch/.wearetheborg/strace-log-setupcon.xz

> in which case ckbcomp has to be invoked.  And yes - 

AFAICS no call of ckbcomp there.

Regards,
Eduard.


Reply to: