Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i don't know what you linked there, i cannot see it.
please tell us more about this machine - specs.
is it slow only during boot?
what are you comparing with (hardware, distro)?
did you already install or is it still in live mode?
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
When you compare the new lappy and the old one, is it with the same operating system? How long of a boot are we talking about? Is it scrolling the whole time, or does it stop and wait?
I found particularly helpful "sudo systemd-analyze plot" and "sudo systemd-analyze blame", the latter spelling out the exact time used for starting the Services.
i don't know what you linked there, i cannot see it.
please tell us more about this machine - specs.
is it slow only during boot?
what are you comparing with (hardware, distro)?
did you already install or is it still in live mode?
also post output from:
Code:
uname -rv
lspci -k
Code:
[root@Host risto]# uname -rv
4.15.6-300.fc27.x86_64 #1 SMP Mon Feb 26 18:43:03 UTC 2018
[root@Host risto]# lspci -k
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
Subsystem: Hewlett-Packard Company Device 828b
libkmod: kmod_config_parse: /etc/modprobe.d/rtl8723be.conf line 1: ignoring bad line starting with 'option'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: i915
Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
Subsystem: Hewlett-Packard Company Device 828b
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: intel_pmc_core
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] (rev 83)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: amdgpu
Kernel modules: amdgpu
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
Subsystem: Hewlett-Packard Company Device 828b
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
Subsystem: Hewlett-Packard Company Device 81c1
Kernel driver in use: rtl8723be
Kernel modules: rtl8723be
[root@Host risto]#
Uploaded the video to youtube so you can see it YouTube Link
The older laptop has i3 4GB ram | New (bigger in video) HP laptop has i5 with 8GB ram with better graphics card - Both running fresh installs of fedora.
I found particularly helpful "sudo systemd-analyze plot" and "sudo systemd-analyze blame", the latter spelling out the exact time used for starting the Services.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Looks quite different from my results. Okay, please use "sudo systemd-analyze plot > boot.svg" (or any file name you like). Display the result in any suitable program (I used Gwenview). You'll get a plot with lots of pinkish columns (or lines). Look for the long deep-red ones and their labels -- they are the culprits. I disabled two services and accelerated boot time from > 40 seconds to less than 10 seconds...
something surely is wrong there.
i'm not using fedora, but i really wonder why it would take systemd 28s to flush the journal? it takes 1.9s on my - much weaker - system.
you need to investigate those services one by one.
they are ordered by how long they take (not by order of appearance), and that's the order i would investigate in.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
In the OP's video, obviously the system is waiting for long periods. Yes, it extends the boot time. But it really isn't fair to include the waits as part of the boot time, because you can get rid of them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.