boot mageia 7 very slow

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

boot mageia 7 very slow

Postby JJF » Aug 16th, '19, 09:18

After last update - 15 august 2019 - boot Mageia 7 became terribly slow.
Did any body else experience similar phenomenon?
Mine is Mageia 7 dual screen cinnamon
jjf
JJF
 
Posts: 167
Joined: Feb 13th, '14, 11:42

Re: boot mageia 7 very slow

Postby ITA84 » Aug 16th, '19, 10:25

I have the latest updates and haven't experienced any slowdown on boot. What's the output of the "systemd-analyze critical-chain" command on your terminal?
ITA84
 
Posts: 195
Joined: Mar 5th, '13, 18:15

Re: boot mageia 7 very slow

Postby JJF » Aug 16th, '19, 11:03

Code: Select all
systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @48.177s
└─multi-user.target @48.177s
  └─smb.service @44.002s +4.174s
    └─nmb.service @34.786s +9.214s
      └─network-online.target @34.527s
        └─network.target @34.481s
          └─network-up.service @21.024s +13.456s
            └─basic.target @21.022s
              └─mandriva-everytime.service @11.314s +9.707s
                └─local-fs.target @11.312s
                  └─local-fs-pre.target @11.281s
                    └─systemd-tmpfiles-setup-dev.service @4.191s +1.622s
                      └─kmod-static-nodes.service @3.696s +493ms
                        └─systemd-journald.socket @3.683s
                          └─system.slice @3.586s
                            └─-.slice @3.586s


JJF
JJF
 
Posts: 167
Joined: Feb 13th, '14, 11:42

Re: boot mageia 7 very slow

Postby ITA84 » Aug 16th, '19, 11:09

I suppose there's nothing wrong there, apart from some network delays. Maybe there's some issue with Cinnamon (I'm sorry, I can't help you with that, never used it)
ITA84
 
Posts: 195
Joined: Mar 5th, '13, 18:15

Re: boot mageia 7 very slow

Postby JJF » Aug 16th, '19, 11:30

Same very slow boot when logging into Plasma
Any clue?
JJF
 
Posts: 167
Joined: Feb 13th, '14, 11:42

Re: boot mageia 7 very slow

Postby doktor5000 » Aug 16th, '19, 14:52

You could save at least 20s from disabling network-up and mandriva-everytime services. As root

Code: Select all
systemctl mask mandriva-everytime.service
systemctl disable network-up.service


But it would be more helpful if you could run the following as root and then afterwards attach the resulting file boot.svg here:
Code: Select all
systemd-analyze plot > boot.svg


Also, as you only mention slow boot, I suppose the slow part if before the display manager actually starts?
Please also show the output as root of
Code: Select all
dkms status
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: 15022
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: boot mageia 7 very slow

Postby JJF » Aug 17th, '19, 20:41

1. boot.svg attached
2. The slow part starts after I enter the login name and password
3.
Code: Select all
dkms status
virtualbox, 5.2.6-1.mga6, 4.14.16-desktop-1.mga6, x86_64: installed-binary from 4.14.16-desktop-1.mga6
virtualbox, 5.2.2-1.mga6, 4.14.10-desktop-1.mga6, x86_64: installed-binary from 4.14.10-desktop-1.mga6
virtualbox, 5.1.26-1.mga6, 4.9.50-desktop-1.mga6, x86_64: installed-binary from 4.9.50-desktop-1.mga6
virtualbox, 5.1.26-1.mga6, 4.9.40-desktop-1.mga6, x86_64: installed-binary from 4.9.40-desktop-1.mga6
virtualbox, 5.2.8-1.mga6, 4.14.30-desktop-3.mga6, x86_64: installed-binary from 4.14.30-desktop-3.mga6
virtualbox, 6.0.8-1.mga6, 4.14.121-desktop-1.mga6, x86_64: installed-binary from 4.14.121-desktop-1.mga6
virtualbox, 5.1.10-1.1.mga5, 4.4.32-desktop-1.mga5, x86_64: installed-binary from 4.4.32-desktop-1.mga5
virtualbox, 6.0.8-1.mga6, 4.14.119-desktop-1.mga6, x86_64: installed-binary from 4.14.119-desktop-1.mga6
virtualbox, 5.1.22-1.mga5, 4.4.68-desktop-1.mga5, x86_64: installed-binary from 4.4.68-desktop-1.mga5
virtualbox, 6.0.6-1.mga6, 4.14.106-desktop-1.mga6, x86_64: installed-binary from 4.14.106-desktop-1.mga6
virtualbox, 6.0.10-1.mga7, 5.1.18-desktop-1.mga7, x86_64: installed-binary from 5.1.18-desktop-1.mga7
virtualbox, 5.2.18-1.mga6, 4.14.69-desktop-1.mga6, x86_64: installed-binary from 4.14.69-desktop-1.mga6
virtualbox, 5.1.18-1.mga5, 4.4.50-desktop-2.mga5, x86_64: installed-binary from 4.4.50-desktop-2.mga5
virtualbox, 5.1.18-1.mga5, 4.4.55-desktop-1.mga5, x86_64: installed-binary from 4.4.55-desktop-1.mga5
virtualbox, 5.2.24-1.mga6, 4.14.100-desktop-1.mga6, x86_64: installed-binary from 4.14.100-desktop-1.mga6
virtualbox, 6.0.10-1.mga7, 5.1.20-desktop-2.mga7, x86_64: installed-binary from 5.1.20-desktop-2.mga7
virtualbox, 5.1.22-1.mga5, 4.4.59-desktop-1.mga5, x86_64: installed-binary from 4.4.59-desktop-1.mga5
virtualbox, 5.2.12-1.mga6, 4.14.44-desktop-2.mga6, x86_64: installed-binary from 4.14.44-desktop-2.mga6
virtualbox, 5.1.22-1.mga5, 4.4.65-desktop-1.mga5, x86_64: installed-binary from 4.4.65-desktop-1.mga5
virtualbox, 5.2.14-1.mga6, 4.14.56-desktop-1.mga6, x86_64: installed-binary from 4.14.56-desktop-1.mga6
virtualbox, 6.0.8-1.mga7, 5.1.14-desktop-1.mga7, x86_64: installed-binary from 5.1.14-desktop-1.mga7
virtualbox, 5.2.14-1.mga6, 4.14.50-desktop-2.mga6, x86_64: installed-binary from 4.14.50-desktop-2.mga6
virtualbox, 6.0.10-1.mga7, 5.2.7-desktop-1.mga7, x86_64: installed-binary from 5.2.7-desktop-1.mga7
virtualbox, 6.0.6-1.mga6, 4.14.116-desktop-1.mga6, x86_64: installed-binary from 4.14.116-desktop-1.mga6
virtualbox, 5.2.6-1.mga6, 4.14.13-desktop-1.mga6, x86_64: installed-binary from 4.14.13-desktop-1.mga6
virtualbox, 5.2.6-1.mga6, 4.14.18-desktop-1.mga6, x86_64: installed-binary from 4.14.18-desktop-1.mga6
virtualbox, 5.2.12-1.mga6, 4.14.40-desktop-1.mga6, x86_64: installed-binary from 4.14.40-desktop-1.mga6
virtualbox, 5.2.2-1.mga6, 4.9.56-desktop-1.mga6, x86_64: installed-binary from 4.9.56-desktop-1.mga6
virtualbox, 5.2.8-1.mga6, 4.14.25-desktop-1.mga6, x86_64: installed-binary from 4.14.25-desktop-1.mga6
virtualbox, 5.2.8-1.mga6, 4.14.20-desktop-1.mga6, x86_64: installed-binary from 4.14.20-desktop-1.mga6
virtualbox, 5.1.22-1.mga5, 4.4.74-desktop-1.mga5, x86_64: installed-binary from 4.4.74-desktop-1.mga5
virtualbox, 5.2.22-1.1.mga6, 4.14.78-desktop-1.mga6, x86_64: installed-binary from 4.14.78-desktop-1.mga6
virtualbox, 5.1.26-1.mga6, 4.9.43-desktop-1.mga6, x86_64: installed-binary from 4.9.43-desktop-1.mga6
virtualbox, 5.2.18-1.mga6, 4.14.65-desktop-1.mga6, x86_64: installed-binary from 4.14.65-desktop-1.mga6
virtualbox, 6.0.8-1.mga6, 4.14.127-desktop-1.mga6, x86_64: installed-binary from 4.14.127-desktop-1.mga6
virtualbox, 5.2.18-1.mga6, 4.14.70-desktop-2.mga6, x86_64: installed-binary from 4.14.70-desktop-2.mga6
virtualbox, 5.2.24-1.mga6, 4.14.104-desktop-2.mga6, x86_64: installed-binary from 4.14.104-desktop-2.mga6
virtualbox, 5.2.24-1.mga6, 4.14.89-desktop-1.mga6, x86_64: installed-binary from 4.14.89-desktop-1.mga6
virtualbox, 5.2.14-1.mga6, 4.14.62-desktop-2.mga6, x86_64: installed-binary from 4.14.62-desktop-2.mga6
Attachments
boot.svg
Boot.svg
(227.31 KiB) Downloaded 11 times
JJF
 
Posts: 167
Joined: Feb 13th, '14, 11:42

Re: boot mageia 7 very slow

Postby doktor5000 » Aug 18th, '19, 01:46

Well, your system needs 130 seconds initialising the kernel until it actually starts systemd and the rest of the init process. Could also be some kind of hardware issue.

I'd also remove most of those virtualbox kernel modules, all the ones apart from the one for the kernel you're using or the 3 most recent ones or so.

There's also some more you can clean up:

systemd-journal-flush.service (17.118s)
=> clean older journal entries, try as root with
Code: Select all
journalctl --vacuum-size=100M

mandriva-everytime.service (10.578s)

=> mask this with
Code: Select all
systemctl mask mandriva-everytime.service

network-up.service (12.581s)
speech-dispatcherd.service (7.829s)


=> disable those if you don't need them.

Apart from all that either there's some kind of hardware problem or that is a really slow box, as quite a lot of simple services each take several seconds to load.
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: 15022
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: boot mageia 7 very slow

Postby JJF » Aug 18th, '19, 12:13

I am not at the box right now.
I will clean it according to your recommendations.
However, I do not understand why it did slow down ( significantly) only after the last update.
Is there a specific item that could have caused it?
JJF
JJF
 
Posts: 167
Joined: Feb 13th, '14, 11:42

Re: boot mageia 7 very slow

Postby JJF » Aug 18th, '19, 17:42

Doktor5000
You suggested to disable as follows:

network-up.service (12.581s)
speech-dispatcherd.service (7.829s)
=> disable those if you don't need them.


Can you, please, tell me how?

JJF
JJF
 
Posts: 167
Joined: Feb 13th, '14, 11:42

Re: boot mageia 7 very slow

Postby isadora » Aug 18th, '19, 18:57

Services can be managed through Mageia Control Centre->System
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2506
Joined: Mar 25th, '11, 16:03
Location: Amsterdam, the Netherlands

Re: boot mageia 7 very slow

Postby vinylninja » Aug 19th, '19, 01:07

If you like to use systemd commands then it would be as root from a terminal:

Code: Select all
systemctl disable network-up.service


to disable the service and:

Code: Select all
systemctl mask network-up.service


to mask it so next time it gets not started if any other service might need it.

But of course you can also use the Mageia Control Center.
User avatar
vinylninja
 
Posts: 11
Joined: Oct 3rd, '18, 23:46
Location: Magical Mountains

Re: boot mageia 7 very slow

Postby JJF » Sep 4th, '19, 02:10

Doktor 5000
The boot still takes more than 120Secs.
Is there nay way to shorten it?
JJF
JJF
 
Posts: 167
Joined: Feb 13th, '14, 11:42

Re: boot mageia 7 very slow

Postby doktor5000 » Sep 4th, '19, 22:46

Yes, you could buy an SSD and install Mageia on that.

And the other thing as mentioned before:
Well, your system needs 130 seconds initialising the kernel until it actually starts systemd and the rest of the init process. Could also be some kind of hardware issue.
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: 15022
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: boot mageia 7 very slow

Postby JJF » Sep 5th, '19, 06:20

You must be joking as boot process slowed down significantly only after the last update..
JJF
JJF
 
Posts: 167
Joined: Feb 13th, '14, 11:42

Re: boot mageia 7 very slow

Postby doktor5000 » Sep 5th, '19, 14:13

Why should I be joking, and how does that disprove the fact that a hardware issue could still exist ?
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: 15022
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: boot mageia 7 very slow

Postby JJF » Sep 5th, '19, 14:45

The slow boot question was related to my home box.
At your suggestion I tested the box in my office
This box has windows 10, some other linux distro and mageia 6 installed on the same disk and behave very normal for 2 years or so.
I than Upgraded Mageia 6 to 7.
It took
3 mins and 15 secs
from selecting Mageia (in the boot-up screen) up until the splash username and password request appeared !!
This was not the case before I upgraded Mageia 6 to 7
The probability that the 2 different boxes need hardware check after upgrade does not sound normal to me
On another box in my office, a stand alone Mageia 7 boots-up very fast.
I have the feeling the the combination of Windows and Mageia 7 specifically is troublesome
Can you relate??
Tks JJF
JJF
 
Posts: 167
Joined: Feb 13th, '14, 11:42

Re: boot mageia 7 very slow

Postby JJF » Sep 5th, '19, 20:55

Doktor5000

I posted 3 topics that seem to me to be related:

viewtopic.php?f=7&t=13029
viewtopic.php?f=7&t=12997
viewtopic.php?f=7&t=12865

On the disk where both Windows 7 and Mageia 7 are installed, I have 200GB of unformated partition

Could you, possibly, guide me how to freshly install mageia 7 on the free space, keeping the current files intacked and accessible, making the new installation my default boot? with the same user name and password?
(I am used to the mageia flavour since the days of Mandriva and prefer Cinnamon as my desktop. In addition, I consider myself as a newbe to Linux).
A step by step instructions will be appreciated)

Tks
JJF
JJF
 
Posts: 167
Joined: Feb 13th, '14, 11:42

Re: boot mageia 7 very slow

Postby doktor5000 » Sep 6th, '19, 12:00

JJF wrote:I have the feeling the the combination of Windows and Mageia 7 specifically is troublesome
Can you relate??

No, I can't relate, I also have a dualboot with Win 7 and upgraded from Mageia 6 and it doesn't take several minutes to 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: 15022
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