Linux Lite Forums

Software - Support => Installing Linux Lite => Topic started by: Zaid Ouardi on May 11, 2021, 10:39:26 AM

Title: how to fix linux lite slow boot times
Post by: Zaid Ouardi on May 11, 2021, 10:39:26 AM
Sorry guys to ask but can you help me fix linux lite slow boot times.

Terminal:

systemd-analyze
Startup finished in 5.747s (kernel) + 31.859s (userspace) = 37.606s
graphical.target reached after 31.809s in userspace


systemd-analyze blame
15.113s networking.service                                   
11.583s blueman-mechanism.service                           
 9.372s NetworkManager-wait-online.service                   
 8.641s accounts-daemon.service                             
 8.518s networkd-dispatcher.service                         
 6.577s udisks2.service                                     
 5.933s grub-common.service                                 
 5.321s dev-sda2.device                                     
 4.941s systemd-udev-settle.service                         
 4.906s gpu-manager.service                                 
 4.845s NetworkManager.service                               
 4.645s polkit.service                                       
 4.215s thermald.service                                     
 4.115s systemd-journal-flush.service                       
 3.732s systemd-resolved.service                             
 3.693s lightdm.service                                     
 3.679s plymouth-quit-wait.service                           
 3.161s systemd-logind.service                               
 2.965s ModemManager.service                                 
 2.732s avahi-daemon.service                                 
 2.397s wpa_supplicant.service                               
 2.280s zfs-load-module.service                             
 2.062s nmbd.service                                         
 1.754s apparmor.service                                     
 1.631s systemd-tmpfiles-setup.service                       
 1.456s rsyslog.service                                     
 1.323s systemd-networkd.service                             
 1.161s systemd-udevd.service                               
  933ms systemd-modules-load.service                         
  863ms smbd.service                                         
  683ms lm-sensors.service                                   
  657ms ubiquity.service                                     
  588ms e2scrub_reap.service                                 
  557ms systemd-tmpfiles-setup-dev.service                   
  532ms grub-initrd-fallback.service                         
  495ms systemd-udev-trigger.service                         
  491ms keyboard-setup.service                               
  483ms systemd-random-seed.service                         
  463ms systemd-sysctl.service                               
  418ms systemd-fsck@dev-disk-by\x2duuid-58C4\x2dFA1E.service
  366ms alsa-restore.service                                 
  364ms upower.service                                       
  332ms systemd-sysusers.service                             
  317ms swapfile.swap                                       
  251ms ntp.service                                         
  236ms boot-efi.mount                                       
  224ms systemd-journald.service                             
  200ms dev-hugepages.mount                                 
  199ms dev-mqueue.mount                                     
  199ms sys-kernel-debug.mount                               
  198ms sys-kernel-tracing.mount                             
  196ms blk-availability.service                             
  194ms kmod-static-nodes.service                           
  194ms lvm2-monitor.service                                 
  165ms zfs-volume-wait.service                             
  141ms [email protected]                                   
  138ms zfs-mount.service                                   
  124ms systemd-remount-fs.service                           
   70ms systemd-tmpfiles-clean.service                       
   57ms setvtrgb.service                                     
   47ms dns-clean.service                                   
   46ms pppd-dns.service                                     
   43ms ifupdown-pre.service                                 
   40ms rtkit-daemon.service                                 
   39ms console-setup.service                               
   38ms zfs-share.service                                   
   37ms systemd-user-sessions.service                       
   36ms hddtemp.service                                     
   25ms systemd-networkd-wait-online.service                 
   21ms [email protected]                       
   20ms resolvconf-pull-resolved.service                     
   17ms finalrd.service                                     
   15ms plymouth-start.service                               
   12ms plymouth-read-write.service                         
    9ms systemd-update-utmp.service                         
    7ms openvpn.service                                     
    7ms systemd-update-utmp-runlevel.service                 
    4ms sys-kernel-config.mount                             
    3ms sys-fs-fuse-connections.mount 

plz help.
Title: Re: how to fix linux lite slow boot times
Post by: Moltke on May 11, 2021, 12:22:55 PM
You could disable blueman-mechanism.service and see if that helps speeding up the boot process.
Code: [Select]
sudo systemctl stop  blueman-mechanism.service   
and then
Code: [Select]
sudo systemctl disable  blueman-mechanism.service   
Title: Re: how to fix linux lite slow boot times
Post by: Zaid Ouardi on May 11, 2021, 01:25:08 PM
i did it but it is still slow

systemd-analyze
Startup finished in 4.231s (kernel) + 32.352s (userspace) = 36.584s
graphical.target reached after 32.337s in userspace

Title: Re: how to fix linux lite slow boot times
Post by: firenice03 on May 11, 2021, 02:49:01 PM
Moved to Support from Coding and deleted duplicate post in Security/bugs..

Support section is the appropriate section.
 
Title: Re: how to fix linux lite slow boot times
Post by: firenice03 on May 11, 2021, 02:53:10 PM
I would second the disable blueman...

What are the system specs - though looks like the network takes a few...
- Maybe try setting to a static IP?
Wifi or hardwire - could test hardwired too (if WiFi)