Linux Lite Forums
Question About Boot Time - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20)
+--- Thread: Question About Boot Time (/showthread.php?tid=7157)



Question About Boot Time - lc6529 - 06-26-2020

Yet another question.  Last week I installed a "Sabrent 1TB Rocket NVMe PCIe M.2 2280 Internal SSD High Performance Solid State Drive (SB-ROCKET-1TB)" on my HP Pavilion 590-p0057c (32 Gig).  I also installed a 6 Terabyte Seagate 'Black' 7200 RPM drive.
I installed Linux Lite on the M.2 in ROOT and set HOME to the Seagate drive.  I also installed a USB 3.0 -> HDMI connector from StarTech that works quite well.

Meanwhile, I also installed an SSD drive in an older laptop and boosted it's memory to 16 gig and then loaded Linux Lite on it.

The laptop boots up fairly quickly, it takes less than 20 seconds.

The HP can take up to 2 minutes and was just curious if it's because it has to insure HOME is ok and it is checking the Seagate.

The slow boot time isn't a real concern...it does boot and once loaded all is good but I am curious if anyone has any ideas on how to get the HP to boot quicker since it would seem
that the M2 would boot quicker.





Re: Question About Boot Time - johnausten13 - 06-26-2020

Check your boot up time by opening the XCFE Terminal, then type systemd-analyze blame to look for the services that is slowing boot time on your HP.
If you installed LL 4.X on your HP, the most likely culprit is the virtualbox services.




Re: Question About Boot Time - lc6529 - 06-26-2020

Thanks, here are the big hitters are the top.

2min 527ms systemd-udev-settle.service                                        >
    6.018s NetworkManager-wait-online.service                                  >
    3.044s apt-daily.service                                                  >
    1.495s networking.service                                                  >
    677ms man-db.service                                                      >
    647ms motd-news.service                                                  >
    632ms systemd-logind.service                                              >
    345ms apt-daily-upgrade.service                                          >
    335ms firewalld.service         


Re: Question About Boot Time - johnausten13 - 06-27-2020

(06-26-2020, 11:47 PM)lc6529 link Wrote:Thanks, here are the big hitters are the top.

2min 527ms systemd-udev-settle.service                                        >
    6.018s NetworkManager-wait-online.service                                  >
    3.044s apt-daily.service                                                  >
    1.495s networking.service                                                  >
    677ms man-db.service                                                      >
    647ms motd-news.service                                                  >
    632ms systemd-logind.service                                              >
    345ms apt-daily-upgrade.service                                          >
    335ms firewalld.service       

systemd-udev-settle.service 

This service actually does very little: it just waits for the device probing being done by udev to finish and then exits. It is also used by storage devices such as RAID and LVM, maybe a non-existent 3g Modem, USB ports, etc.

On my part, I have masked NetworkManager-wait-online, MOTD, apt-daily-upgrade, ModemManager, nmbd, etc since I don not use them.


Re: Question About Boot Time - lc6529 - 06-27-2020

Ok, so is there a way to disable systemd-udev-settle.service?




Re: Question About Boot Time - johnausten13 - 06-27-2020

(06-27-2020, 02:32 AM)lc6529 link Wrote:Ok, so is there a way to disable systemd-udev-settle.service?

Code:
sudo systemctl disable systemd-udev-settle.service

OR

Code:
sudo systemctl mask systemd-udev-settle.service