[Solved] Slow Boot Mageia 7

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[Solved] Slow Boot Mageia 7

Postby jeevanism » Jun 15th, '20, 14:54

Hello,

Instead of starting another new thread, I will ask my questions here. As the OP stated, I have a slow boot issue as well

Code: Select all
[root@jeevanism jeevan]# systemd-analyze
Startup finished in 4.335s (firmware) + 4.180s (loader) + 6.249s (kernel) + 54.434s (userspace) = 1min 9.200s
graphical.target reached after 53.853s in userspace


Code: Select all
[root@jeevanism jeevan]# systemd-analyze blame | head
         10.386s postfix.service
          9.388s udisks2.service
          9.273s systemd-journal-flush.service
          8.451s NetworkManager-wait-online.service
          8.436s mandriva-everytime.service
          6.758s systemd-udev-settle.service
          6.202s ModemManager.service
          6.043s upower.service
          5.889s network.service
          5.634s dev-sda3.device


I find the main issue with the loading of userspace - login into PLASMA and all, taking so much time

Code: Select all
[root@jeevanism jeevan]# systemd-analyze blame
         10.386s postfix.service
          9.388s udisks2.service
          9.273s systemd-journal-flush.service
          8.451s NetworkManager-wait-online.service
          8.436s mandriva-everytime.service
          6.758s systemd-udev-settle.service
          6.202s ModemManager.service
          6.043s upower.service
          5.889s network.service
          5.634s dev-sda3.device
          5.584s resolvconf.service
          5.295s systemd-logind.service
          5.288s dbus.service
          5.062s rtkit-daemon.service
          5.058s avahi-daemon.service
          4.392s mga-bg-res.service
          4.106s sensord.service
          2.880s powertop.service
          2.829s NetworkManager.service
          2.788s rsyslog.service
          2.706s dnf-makecache.service
          2.061s polkit.service
          1.967s preload.service
          1.436s lm_sensors.service
          1.363s systemd-tmpfiles-setup.service
          1.298s systemd-fsck-root.service
          1.242s systemd-udevd.service
           825ms dev-hugepages.mount
           809ms sys-kernel-debug.mount
           807ms dev-mqueue.mount
           796ms fedora-readonly.service
           778ms systemd-tmpfiles-setup-dev.service
           770ms lvm2-activation-early.service
           580ms tlp.service
           504ms tmp.mount
           480ms systemd-timesyncd.service
           478ms dmraid-activation.service
           448ms systemd-journald.service
           445ms msec.service
           440ms wpa_supplicant.service
           419ms systemd-udev-trigger.service
           408ms acpid.service
           408ms gpm.service
           407ms partmon.service
           404ms systemd-modules-load.service
           400ms kmod-static-nodes.service
           400ms mdmonitor-takeover.service
           241ms systemd-backlight@backlight:amdgpu_bl0.service
           176ms systemd-tmpfiles-clean.service
           160ms systemd-sysctl.service
           156ms dracut-shutdown.service
           150ms boot-EFI.mount
           141ms systemd-update-utmp.service
            85ms systemd-remount-fs.service
            76ms drakx-installer-xsetup.service
            68ms plymouth-read-write.service
            63ms systemd-random-seed.service
            59ms user@1000.service
            56ms lvm2-monitor.service
            56ms plymouth-quit.service
            56ms plymouth-quit-wait.service
            51ms systemd-user-sessions.service
            49ms lvm2-activation.service
            43ms systemd-vconsole-setup.service
            33ms fedora-loadmodules.service
            15ms plymouth-start.service
            14ms user-runtime-dir@1000.service
            10ms systemd-update-utmp-runlevel.service
             4ms sys-fs-fuse-connections.mount


Please suggest me if any fine tunes to increase the boot time.
thank you
Attachments
boot.svg
bootlog
(123.32 KiB) Downloaded 77 times
Last edited by jeevanism on Jul 7th, '20, 07:23, edited 1 time in total.
jeevanism
 
Posts: 69
Joined: Sep 1st, '12, 05:28

Re: Slow Boot Mageia 7

Postby doktor5000 » Jun 15th, '20, 15:39

jeevanism wrote:Instead of starting another new thread, I will ask my questions here.


No. Hijacking of other peoples threads is disregarded, hence I've split this into a separate thread.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Slow Boot Mageia 7

Postby magic » Jun 15th, '20, 19:14

I think disabling mandriva-everytime shouldn't cause you many issues and would save about 5 seconds.

Networking looks... a bit long.

Are you running off a hdd?
I see my C has been in the sea too long - it's gone rusty.
magic
 
Posts: 54
Joined: Jun 8th, '19, 09:38
Location: Nottinghamshire, UK

Re: Slow Boot Mageia 7

Postby jeevanism » Jun 17th, '20, 05:15

doktor5000 wrote:
jeevanism wrote:Instead of starting another new thread, I will ask my questions here.


No. Hijacking of other peoples threads is disregarded, hence I've split this into a separate thread.

oh, I am sorry, I did not mean to hijack but I thought since my issue is same as OP, I dont want to flood with a new thread, from now on, I will start my own threads ! :roll:
jeevanism
 
Posts: 69
Joined: Sep 1st, '12, 05:28

Re: Slow Boot Mageia 7

Postby jeevanism » Jun 17th, '20, 05:17

doktor5000 wrote:
jeevanism wrote:Instead of starting another new thread, I will ask my questions here.


No. Hijacking of other peoples threads is disregarded, hence I've split this into a separate thread.


Where do I see the new thread? pls ?
jeevanism
 
Posts: 69
Joined: Sep 1st, '12, 05:28

Re: Slow Boot Mageia 7

Postby jeevanism » Jun 17th, '20, 05:19

magic wrote:I think disabling mandriva-everytime shouldn't cause you many issues and would save about 5 seconds.

Networking looks... a bit long.

Are you running off a hdd?



I will disable mandriva-everytime and yes I am running HDD not SSD but it seems the more time takes to reach the graphical target

Code: Select all
graphical.target reached after 56.183s in userspace


is this related to KDE ?
jeevanism
 
Posts: 69
Joined: Sep 1st, '12, 05:28

Re: Slow Boot Mageia 7

Postby jeevanism » Jun 17th, '20, 08:28

I have disabled the below listed services from boot
Code: Select all
[root@jeevanism jeevan]# systemctl list-unit-files --type=service | grep disabled
accounts-daemon.service                    disabled       
arp-ethers.service                         disabled       
blk-availability.service                   disabled       
bluetooth.service                          disabled       
canberra-system-bootup.service             disabled       
canberra-system-shutdown-reboot.service    disabled       
canberra-system-shutdown.service           disabled       
chrony-wait.service                        disabled       
chronyd.service                            disabled       
console-getty.service                      disabled       
cpupower.service                           disabled       
cups-browsed.service                       disabled       
cups.service                               disabled       
debug-shell.service                        disabled       
fedora-domainname.service                  disabled       
fedora-import-state.service                disabled       
fedora-loadmodules.service                 disabled       
fedora-readonly.service                    disabled       
gssproxy.service                           disabled       
hddtemp.service                            disabled       
ip6tables.service                          disabled       
ipsec.service                              disabled       
ipset.service                              disabled       
iptables.service                           disabled       
lm_sensors.service                         disabled       
mandi.service                              disabled       
mdadm.service                              disabled       
mdmonitor.service                          disabled       
mga-bg-res.service                         disabled       
ModemManager.service                       disabled       
multipathd.service                         disabled       
NetworkManager-wait-online.service         disabled       
nfs-blkmap.service                         disabled       
nfs-convert.service                        disabled       
nfs-server.service                         disabled       
openvpn@.service                           disabled       
pppoe-server.service                       disabled       
rpc-rquotad.service                        disabled       
rpcbind.service                            disabled       
rsyncd.service                             disabled       
sensord.service                            disabled       
serial-getty@.service                      disabled       
shorewall.service                          disabled       
shorewall6.service                         disabled       
systemd-boot-check-no-failures.service     disabled       
systemd-journal-upload.service             disabled       
systemd-networkd-wait-online.service       disabled       
systemd-networkd.service                   disabled       
systemd-nspawn@.service                    disabled       
systemd-resolved.service                   disabled       
systemd-time-wait-sync.service             disabled       
udisks2.service                            disabled       
unbound.service                            disabled       
vnstat.service                             disabled       
wpa_supplicant.service                     disabled       
xdm.service                                disabled       
xl2tpd.service 


and boot time is now
Code: Select all
[root@jeevanism jeevan]# systemd-analyze
Startup finished in 4.590s (firmware) + 2.094s (loader) + 5.735s (kernel) + 17.682s (userspace) = 30.102s
graphical.target reached after 17.139s in userspace
jeevanism
 
Posts: 69
Joined: Sep 1st, '12, 05:28

Re: Slow Boot Mageia 7

Postby doktor5000 » Jun 17th, '20, 09:45

jeevanism wrote:
doktor5000 wrote:Hijacking of other peoples threads is disregarded, hence I've split this into a separate thread.


Where do I see the new thread? pls ?

You're already looking at it right now ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Slow Boot Mageia 7

Postby doktor5000 » Jun 17th, '20, 17:12

jeevanism wrote:I have disabled the below listed services from boot


Nice. Now try printing. Or switching to a tty, or attaching removable storage, or using your firewall.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Slow Boot Mageia 7

Postby jeevanism » Jun 19th, '20, 11:24

I dont have a printer so I dont need any printing related services, I have a single user laptop so that part is also ok. I have disabled firewall already. I dont have a usb storage device but my USB mouse is working fine so far. But I need to optimize my battery/power usage further
Last edited by doktor5000 on Jun 19th, '20, 18:09, edited 1 time in total.
Reason: removed fullquote
jeevanism
 
Posts: 69
Joined: Sep 1st, '12, 05:28

Re: Slow Boot Mageia 7

Postby doktor5000 » Jun 19th, '20, 18:10

jeevanism wrote:But I need to optimize my battery/power usage further

Although in this thread you were asking about slow boot.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Slow Boot Mageia 7

Postby jeevanism » Jul 6th, '20, 06:42

doktor5000 wrote:
jeevanism wrote:But I need to optimize my battery/power usage further

Although in this thread you were asking about slow boot.


I know, I know :) The boot is almost done, and the power / energy as well. I guess.
jeevanism
 
Posts: 69
Joined: Sep 1st, '12, 05:28

Re: Slow Boot Mageia 7

Postby doktor5000 » Jul 6th, '20, 16:41

Then please mark the thread accordingly.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron