Maui Forums
Slow booting - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Plasma Desktop (https://forums.mauilinux.org/forumdisplay.php?fid=84)
+--- Thread: Slow booting (/showthread.php?tid=24574)



Slow booting - jwegier - 14th August 2017

Hello,

I am new to Linux and Maui and I have two distros installed (Maui 17.06 and Mint Cinnamon 18.2) and I am currently hopping between them to find which one suits me.

The average booting time of Maui 17.06 of my computer (Intel Core i7/ 8 GiB RAM) is around 44 seconds. Is it a normal booting time for Maui? On the same computer, Linux Mint Cinnamon 18.2 booting time is 18 seconds and Windows 7 is 24 seconds.

I ran systemd-analyze blame:

8.048s NetworkManager-wait-online.service
         6.931s nmbd.service
         6.647s ModemManager.service
         6.454s accounts-daemon.service
         5.926s dev-sda3.device
         5.628s samba-ad-dc.service
         5.249s NetworkManager.service
         4.008s grub-common.service
         3.959s polkitd.service
         3.057s apparmor.service
         2.429s console-setup.service
         2.328s irqbalance.service
         2.213s thermald.service
         2.160s ondemand.service
         2.079s systemd-logind.service
         1.901s setvtrgb.service
         1.695s lm-sensors.service
         1.695s alsa-restore.service
         1.693s systemd-user-sessions.service
         1.691s rsyslog.service
         1.691s pppd-dns.service
         1.657s avahi-daemon.service
         1.481s systemd-tmpfiles-setup.service

Is there something to fix or is it a normal booting time for Maui 17.06?

Thanks


RE: Slow booting - leszek - 14th August 2017

It is hard to tell if this is a normal boot time without knowing your hardware. In general for a HDD this the output of systemd-analyze blame looks normal to me.
However if your Mint System only needs 18 seconds to bootup and Maui needs 44 seconds then something is definitely wrong.
I would suggest taking a look at the topic here as it is basically the same: https://forums.mauilinux.org/showthread.php?tid=24524


RE: Slow booting - jwegier - 14th August 2017

(14th August 2017, 11:56)leszek Wrote: I would suggest taking a look at the topic here as it is basically the same: https://forums.mauilinux.org/showthread.php?tid=24524

Thanks,
I had a look at the topic and then checked via synaptic that no virtualbox-guest packages are installed on my machine.


RE: Slow booting - leszek - 14th August 2017

But you still get your slow boot time?
Can you maybe run
Code:
systemd-analyze critical-chain
to see a more detailed list of the startup time that takes the longest and its queue of services that depend on it.


RE: Slow booting - jwegier - 14th August 2017

(14th August 2017, 12:42)leszek Wrote: But you still get your slow boot time?
Can you maybe run
Code:
systemd-analyze critical-chain
to see a more detailed list of the startup time that takes the longest and its queue of services that depend on it.

graphical.target @29.684s
└─multi-user.target @29.684s
└─smbd.service @29.248s +435ms
└─nmbd.service @23.125s +6.101s
└─network-online.target @23.107s
└─NetworkManager-wait-online.service @12.465s +10.642s
└─NetworkManager.service @9.789s +2.655s
└─dbus.service @7.867s
└─basic.target @7.605s
└─sockets.target @7.605s
└─snapd.socket @7.574s +30ms
└─sysinit.target @7.574s
└─swap.target @7.574s
└─dev-disk-by\x2duuid-c4ef2630\x2d5359\x2d4796\x2d9276\x2d77d818ab3120.swap @7.472s +100ms
└─dev-disk-by\x2duuid-c4ef2630\x2d5359\x2d4796\x2d9276\x2d77d818ab3120.device @7.453s


RE: Slow booting - leszek - 14th August 2017

Please use quotes for pasted text. Otherwise it makes it really hard to read here (the tabs are missing so we don't see a nice treeview)

So basically network-online.target seems a bit long for my taste. Do you happen to have ipv6 turned on for your network device? Is it an ethernet device or wifi?
And if it is wifi do you have set it up to be a system connection?


RE: Slow booting - jwegier - 14th August 2017

(14th August 2017, 13:48)leszek Wrote: Please use quotes for pasted text. Otherwise it makes it really hard to read here (the tabs are missing so we don't see a nice treeview)

So basically network-online.target seems a bit long for my taste. Do you happen to have ipv6 turned on for your network device? Is it an ethernet device or wifi?
And if it is wifi do you have set it up to be a system connection?


Sorry!

graphical.target @29.684s
└─multi-user.target @29.684s
 └─smbd.service @29.248s +435ms
   └─nmbd.service @23.125s +6.101s
     └─network-online.target @23.107s
       └─NetworkManager-wait-online.service @12.465s +10.642s
         └─NetworkManager.service @9.789s +2.655s
           └─dbus.service @7.867s
             └─basic.target @7.605s
               └─sockets.target @7.605s
                 └─snapd.socket @7.574s +30ms
                   └─sysinit.target @7.574s
                     └─swap.target @7.574s
                       └─dev-disk-by\x2duuid-c4ef2630\x2d5359\x2d4796\x2d9276\x2d77d818ab3120.swap @7.472s +100ms
                         └─dev-disk-by\x2duuid-c4ef2630\x2d5359\x2d4796\x2d9276\x2d77d818ab3120.device @7.453s




RE: Slow booting - leszek - 14th August 2017

OK if you don't need samba(smbd + nmbd) at boot you could just disable those services and it should improve boot time.


RE: Slow booting - jwegier - 14th August 2017

(14th August 2017, 13:59)jwegier Wrote:
(14th August 2017, 13:48)leszek Wrote: So basically network-online.target seems a bit long for my taste. Do you happen to have ipv6 turned on for your network device? Is it an ethernet device or wifi?
And if it is wifi do you have set it up to be a system connection?

I will check. I am not a tech savvy person but if it is a network device coniguration problem, then why boot time in Windows and Mint Cinnamon OK?



RE: Slow booting - jwegier - 14th August 2017

(14th August 2017, 14:04)leszek Wrote: OK if you don't need samba(smbd + nmbd) at boot you could just disable those services and it should improve boot time.

I'll try that.

Thank you very much for helping so kindly.