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 usual case that'll not be a problem.
If the previous table contains two or more layouts, this can potentially lead to a non-functional keyboard and require a cold reset... On Tue, Aug 25, 2015 at 09:56:39PM +0200, Samuel Thibault wrote: > > Ouch. The optimization I mentioned could perhaps reduce that, in a not > too complex setup (shift, alt, control, altgr, capslock modifiers) by a > 4x factor. To go further a kernel patch is really needed, there is no > way around it. If the speed is priority I suppose it will be better if the user installs console-setup-mini instead of console-setup. Even d-i can install console-setup-mini instead of console-setup by default. Ofcourse, before this change is made, its positive effect must be properly measured. Anton Zinoviev

