Optimizing kernel startup times
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: Optimizing kernel startup times
...disconnect individual USB ports one by one. Considering ambiguous recovery I'd try kernel of another series, for LM19 there is an older one 4.15 in Grub advanced menu or to install newer 5.11.16 from Ubuntu mainline.
-=t42=-
Re: Optimizing kernel startup times
Here are my testing results so far:
Unplug headset USB only
Startup finished in 13.385s (kernel) + 2.679s (userspace) = 16.064s
graphical.target reached after 2.672s in userspace
---
Unplug mouse only
Startup finished in 13.221s (kernel) + 2.845s (userspace) = 16.067s
graphical.target reached after 2.766s in userspace
---
Unplug keyboard only
Startup finished in 12.289s (kernel) + 2.723s (userspace) = 15.013s
graphical.target reached after 2.717s in userspace
---
Unplug all
Startup finished in 6.374s (kernel) + 2.931s (userspace) = 9.305s
graphical.target reached after 2.924s in userspace
---
Switch temporarily to 4.15 kernel
Startup finished in 5.974s (kernel) + 14.377s (userspace) = 20.352s
graphical.target reached after 14.371s in userspace
---
So, this raises a question...
Why is it all-or-nothing (I have to unplug everything and the boot is much faster; it's apparently not tied to any one device)?
Unplug headset USB only
Startup finished in 13.385s (kernel) + 2.679s (userspace) = 16.064s
graphical.target reached after 2.672s in userspace
---
Unplug mouse only
Startup finished in 13.221s (kernel) + 2.845s (userspace) = 16.067s
graphical.target reached after 2.766s in userspace
---
Unplug keyboard only
Startup finished in 12.289s (kernel) + 2.723s (userspace) = 15.013s
graphical.target reached after 2.717s in userspace
---
Unplug all
Startup finished in 6.374s (kernel) + 2.931s (userspace) = 9.305s
graphical.target reached after 2.924s in userspace
---
Switch temporarily to 4.15 kernel
Startup finished in 5.974s (kernel) + 14.377s (userspace) = 20.352s
graphical.target reached after 14.371s in userspace
---
So, this raises a question...
Why is it all-or-nothing (I have to unplug everything and the boot is much faster; it's apparently not tied to any one device)?
Re: Optimizing kernel startup times
The systemd-analyze results probably should be confronted with time intervals measured with real stopwatch, for example from grub menu to the login prompt. It may be that the difference will be not of practical significance.
-=t42=-