LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-14-2018, 03:47 AM   #1
Rogi_n
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Rep: Reputation: Disabled
HP 17-x170ng slow bootup


I recently bought a new laptop. Thing is it boots up slower than old and has some delays even when I'm only using terminal etc..
I think It could be in the BIOS but it has no ADVANCED option
http://i64.tinypic.com/rtf29i.jpg
https://streamable.com/s/vcb7t/cupbdp
Help needed
 
Old 03-15-2018, 03:03 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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
 
Old 03-15-2018, 03:13 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
@ondoho, turn noscript off .... - at least you can see the (first) image.
@Rogi_n, we need more info - what distro, what messages ...
 
Old 03-15-2018, 06:39 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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?
 
Old 03-15-2018, 09:31 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
If your System starts with systemd try the commands shown here:

https://wiki.ubuntuusers.de/systemd/systemd-analyze/

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.
 
Old 03-15-2018, 10:59 AM   #6
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,953
Blog Entries: 32

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
Smile

Rogi_n,

Welcome to LQ.

Which Linux distro are you using?
Your HP laptop with 8GB of RAM and an Intel i5-7200U CPU should be no slouch, regardless of distro.

There is no Advanced option in the BIOS of recent HP laptops. I have a similar InsydeH20 BIOS to your one.

@JZL240I-U,

Thanks for the link about systemd.
Unfortunately the only German I use is, “Noch ein bier bitte” and “Ein fassbier bitte”.

For others with limited German, try this Ubuntu page:
http://manpages.ubuntu.com/manpages/...analyze.1.html

https://askubuntu.com/questions/1009...-blame-results
 
Old 03-15-2018, 11:05 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
...
@JZL240I-U,

Thanks for the link about systemd.
Unfortunately the only German I use is, “Noch ein bier bitte” and “Ein fassbier bitte”.

Dear me, you must be thirsty, ordering an entire keg of beer . Though I have known situations like that...

Quote:
Originally Posted by beachboy2 View Post


Sorry, switching between languages all day I overlooked that when I posted the link .
 
Old 03-15-2018, 11:07 AM   #8
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,953
Blog Entries: 32

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
Wink

JZL240I-U,

Maybe it was "ein bier vom fass".
 
Old 03-15-2018, 11:10 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
JZL240I-U,

Maybe it was "ein bier vom fass".


As a rule you would get that anyhow in Germany, you'd need to stress it only when you want to make that really clear.


Ahh, but tonight I will have some bottles with my son .
 
Old 03-16-2018, 05:21 AM   #10
Rogi_n
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
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.
 
Old 03-16-2018, 05:53 AM   #11
Rogi_n
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
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]#
Old DELL laptop has i3 4GM ram | New HP laptop has i5 8GB ram
Both fresh installs of Fedora
Uploaded a video to YouTube - LINK
 
Old 03-16-2018, 06:00 AM   #12
Rogi_n
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JZL240I-U View Post
If your System starts with systemd try the commands shown here:

https://wiki.ubuntuusers.de/systemd/systemd-analyze/

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.
Code:
sudo systemd-analyze blame
         28.853s systemd-journal-flush.service
         25.738s plymouth-quit-wait.service
         19.593s udisks2.service
         12.614s dkms.service
         12.581s dracut-initqueue.service
         10.794s NetworkManager.service
         10.595s sssd.service
          9.818s firewalld.service
          9.516s NetworkManager-wait-online.service
          8.762s libvirtd.service
          8.080s vboxdrv.service
          7.554s lvm2-monitor.service
          6.553s dev-mapper-fedora_host\x2droot.device
          6.534s systemd-udev-settle.service
          4.679s initrd-switch-root.service
          3.492s polkit.service
          3.439s systemd-rfkill.service
          2.580s abrtd.service
          2.134s wpa_supplicant.service
          2.052s systemd-tmpfiles-setup.service
          1.746s ModemManager.service
          1.657s dnf-makecache.service
          1.548s systemd-tmpfiles-setup-dev.service
 
Old 03-16-2018, 11:38 AM   #13
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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...
 
Old 03-17-2018, 02:27 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Rogi_n View Post
Code:
sudo systemd-analyze blame
         28.853s systemd-journal-flush.service
         25.738s plymouth-quit-wait.service
         19.593s udisks2.service
         12.614s dkms.service
         12.581s dracut-initqueue.service
         10.794s NetworkManager.service
         10.595s sssd.service
          9.818s firewalld.service
          9.516s NetworkManager-wait-online.service
          8.762s libvirtd.service
          8.080s vboxdrv.service
          7.554s lvm2-monitor.service
          6.553s dev-mapper-fedora_host\x2droot.device
          6.534s systemd-udev-settle.service
          4.679s initrd-switch-root.service
          3.492s polkit.service
          3.439s systemd-rfkill.service
          2.580s abrtd.service
          2.134s wpa_supplicant.service
          2.052s systemd-tmpfiles-setup.service
          1.746s ModemManager.service
          1.657s dnf-makecache.service
          1.548s systemd-tmpfiles-setup-dev.service
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.
 
Old 03-17-2018, 02:49 AM   #15
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
10.1 - slow bootup 144419855310001 SUSE / openSUSE 3 04-02-2006 06:30 PM
slow bootup neverwhere Linux - General 4 10-03-2004 10:35 PM
Slow bootup TazG Linux - General 3 08-06-2004 09:00 PM
Slow Bootup distortedstar Linux - Software 2 05-10-2004 07:06 AM
slow bootup naflan Slackware 9 09-30-2003 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration