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

2015-09-01 Thread Anton Zinoviev
On Tue, Aug 25, 2015 at 08:53:36PM +0200, Samuel Thibault wrote: > > We could try to optimize that now by not loading the whole table, but > just the parts for which a modifier key has been defined. That's not > very clean since it'll leave unreachable parts of any previous load, but > in the usua

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

2015-08-25 Thread Eduard Bloch
Hallo, * Samuel Thibault [Wed, Aug 26 2015, 12:21:19AM]: > Eduard Bloch, le Wed 26 Aug 2015 00:11:10 +0200, a écrit : > > So... ok, maybe getting times from the log was a bad idea and causes > > exageration. > > Err, were you using strace for your whole timing of setupcon? It's no > wonder it take

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

2015-08-25 Thread Samuel Thibault
Eduard Bloch, le Wed 26 Aug 2015 00:11:10 +0200, a écrit : > So... ok, maybe getting times from the log was a bad idea and causes > exageration. Err, were you using strace for your whole timing of setupcon? It's no wonder it takes so long in that case :) Samuel

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

2015-08-25 Thread Eduard Bloch
Hallo, * Samuel Thibault [Tue, Aug 25 2015, 10:52:29PM]: > Eduard Bloch, le Tue 25 Aug 2015 22:34:17 +0200, a écrit : > > Hallo, > > * Samuel Thibault [Tue, Aug 25 2015, 09:56:39PM]: > > > Eduard Bloch, le Tue 25 Aug 2015 21:35:36 +0200, a écrit : > > > > * Samuel Thibault [Tue, Aug 25 2015, 08:54:

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

2015-08-25 Thread Samuel Thibault
Eduard Bloch, le Tue 25 Aug 2015 22:34:17 +0200, a écrit : > Hallo, > * Samuel Thibault [Tue, Aug 25 2015, 09:56:39PM]: > > Eduard Bloch, le Tue 25 Aug 2015 21:35:36 +0200, a écrit : > > > * Samuel Thibault [Tue, Aug 25 2015, 08:54:35PM]: > > > > Just so that people reading the log don't take it to

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

2015-08-25 Thread Eduard Bloch
Hallo, * Samuel Thibault [Tue, Aug 25 2015, 09:56:39PM]: > Eduard Bloch, le Tue 25 Aug 2015 21:35:36 +0200, a écrit : > > * Samuel Thibault [Tue, Aug 25 2015, 08:54:35PM]: > > > Just so that people reading the log don't take it too exagerated: > > > > > Eduard Bloch, le Tue 25 Aug 2015 20:24:22 +0

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

2015-08-25 Thread Samuel Thibault
Eduard Bloch, le Tue 25 Aug 2015 21:35:36 +0200, a écrit : > * Samuel Thibault [Tue, Aug 25 2015, 08:54:35PM]: > > Just so that people reading the log don't take it too exagerated: > > > Eduard Bloch, le Tue 25 Aug 2015 20:24:22 +0200, a écrit : > > > I checked again... about 20% of the time is sp

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

2015-08-25 Thread Eduard Bloch
Hallo, * Samuel Thibault [Tue, Aug 25 2015, 08:54:35PM]: > Just so that people reading the log don't take it too exagerated: > Eduard Bloch, le Tue 25 Aug 2015 20:24:22 +0200, a écrit : > > I checked again... about 20% of the time is spent in two calls of pidof > > We're here talking about ~15ms

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

2015-08-25 Thread Samuel Thibault
Control: clone -1 -2 Control: reassign -2 kbd Control: retitle -2 Uses 14000 ioctls to load a complete map, needs a better kernel interface Samuel Thibault, le Tue 25 Aug 2015 20:53:36 +0200, a écrit : > Eduard Bloch, le Tue 25 Aug 2015 20:24:22 +0200, a écrit : > > And about 70% is spent by load

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

2015-08-25 Thread Debian Bug Tracking System
Processing control commands: > clone -1 -2 Bug #763695 [keyboard-configuration] console-setup is slowest part of boot, not fast as setupcon manpage tells us Bug 763695 cloned as bug 796911 > reassign -2 kbd Bug #796911 [keyboard-configuration] console-setup is slowest part of boot, not fast as s

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

2015-08-25 Thread Samuel Thibault
Just so that people reading the log don't take it too exagerated: Eduard Bloch, le Tue 25 Aug 2015 20:24:22 +0200, a écrit : > I checked again... about 20% of the time is spent in two calls of pidof We're here talking about ~15ms each. > And about 70% is spent by loadkeys executing the mentioned

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

2015-08-25 Thread Samuel Thibault
Hello, Eduard Bloch, le Tue 25 Aug 2015 20:24:22 +0200, a écrit : > And about 70% is spent by loadkeys executing the mentioned storm of ioctls. We could try to optimize that now by not loading the whole table, but just the parts for which a modifier key has been defined. That's not very clean si

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

2015-08-25 Thread Eduard Bloch
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...

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

2015-08-24 Thread Anton Zinoviev
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. Unless your directory /etc/console-setup/ doesn't contain a cached keymap in which case ckbcomp has to

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

2015-08-22 Thread Cyril Brulebois
Hi Eduard, Eduard Bloch (2015-08-22): > Package: console-setup > Version: 1.132 > Followup-For: Bug #763695 > > Dear Maintainer, > > inspired by the recent talk about systemd utilities I analyzed my boot > process on my lower-level laptop (CPU is ok but the harddisk is plain > old mechanic thin

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

2015-08-22 Thread Eduard Bloch
Package: console-setup Version: 1.132 Followup-For: Bug #763695 Dear Maintainer, inspired by the recent talk about systemd utilities I analyzed my boot process on my lower-level laptop (CPU is ok but the harddisk is plain old mechanic thing). And it's even worse than in jak's original report, it