BIOS settings of Latitude 5520 for faster start up

Hey, I have just installed Ubuntu MATE on Dell Latitude 5520, but the start up process or restart seems to me pretty slow. I can see in quite a lot of settings and speed up functions, so I wonder, weather some of you know, how to set this tipe BIOS to perform better with Ubuntu?

I have actually followed manufacturers support and removed external mouse and it worked much faster. But still not as fast as on my Latitude E6530 even with plugged in mouse which restarts in 23 s (while 5520 this takes about 45 s). So what might be different?

There is a high probability that something in your boot process is waiting on a piece of hardware that doesn't respond.

Most of the time, be it bluetooth or network or something else, this extends the boot time with a timeout on forementioned device.

If we subtract the timeout period, which usually is in the order of 25 seconds, your much faster 5520 should be booting in 20 seconds.

Best thing you can do is search the logs for errors, warnings, or timeouts.
Like this:

 journalctl | grep -i timeout

which would show any timeout that occured during or since boot
Like this:

 jul 05 14:34:22 computername dbus-daemon[893]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)

If, in this example, the multiuser-target would depend on 'org.bluez' , it would be extending the boot time with up to 25 seconds. (and I'm glad it doesn't)

What you also can do is this:

systemd-analyze blame

Which shows which service is to blame for slow boottimes, with the biggest offender on top.
Like this:

12.418s apport-autoreport.service
 5.970s NetworkManager-wait-online.service
 3.252s plocate-updatedb.service
 1.205s apt-daily-upgrade.service
  783ms snapd.service
  490ms snapd.seeded.service
  391ms apt-daily.service

Also, this might come in handy:

systemctl list-units --failed
1 Like

So yes, it looks the problem is with network, there is a timeout

srp 08 17:35:47 L5520 NetworkManager[835]: [1659972947.7817] dhcp4 (wlp0s20f3): activation: beginning transaction (timeout in 45 seconds)

And slow bootime points to the same direction:

6.352s NetworkManager-wait-online.service
878ms snapd.service
810ms dev-nvme0n1p2.device
449ms systemd-logind.service
413ms lightdm.service
411ms plymouth-quit-wait.service
201ms dev-loop9.device
196ms dev-loop10.device
194ms dev-loop12.device
193ms dev-loop8.device

So what can be done about it?

It might be possible that your WiFi transmission/reception is weak.
Could you try both laptops with a wired connection and check the boottimes again ?

Signalstrength of Wifi transmission is hardware bound. not much you can do about it from the software side.

It might help in your case to switch from 5GHz to 2.4GHz and see if that helps.
5GHz tends to be more prone to be blocked by walls and such.

1 Like

Meanwhile I have upgraded BIOS and it helped. Now the reboot times areou around 20 seconds. Still with USB mouse pluged in the rebote time is longer about 40 s.

I agre that router is far, I have in plan to move it closer and maybe buy a new one.

The radiosignal of your wireless USB-mouse & dongle can be enough to interfere with the already weak WiFi reception. Try a wired mouse to check if this is the case.

Actually I am using mouse with wire.

Have you performed the analyze blame procedure with the mouse plugged in? If you did, what were the results?

1 Like