buster finishing installation takes long

Help with issues regarding installation of Debian

Re: buster finishing installation takes long

Postby Chrisdb » 2019-08-16 04:42

phenest wrote:What about reading from the HDD? Is access times slow too? Slow boot as well? Does/did Windows run ok?


The 'Reading database' step from the package installation took the longest I believe...

When I ran Windows, the boot process was extremely slow. That's why I installed a linux distro in the first place, to be able to run a DE (XFCE) without unnecessary bloat :D
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby phenest » 2019-08-16 15:07

So it was the same with Windows? That would point to hardware or specifically the hard drive.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1703
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

Postby Chrisdb » 2019-08-18 10:58

Ok, so what are the next Steps to determine the root cause?
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby phenest » 2019-08-18 12:01

How about telling us your hardware spec?
Tell your your computer make/model and the results of:
Code: Select all
lspci -k

... and we'll go from there.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1703
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

Postby Chrisdb » 2019-08-18 17:06

phenest wrote:How about telling us your hardware spec?
Tell your your computer make/model and the results of:
Code: Select all
lspci -k

... and we'll go from there.


inxi -M
Code: Select all
Machine:   
           Type: Laptop System: LENOVO product: 80XS v: Lenovo ideapad 320-15ABR serial: xxxxx
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709WIN serial: xxxxx UEFI: LENOVO v: 5QCN16WW
           date: 05/22/2017


lspci -k
Code: Select all
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex
   Subsystem: Lenovo Family 15h (Models 60h-6fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit
   Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Carrizo (rev ca)
   Subsystem: Lenovo Wani [Radeon R5/R6/R7 Graphics]
   Kernel driver in use: amdgpu
   Kernel modules: amdgpu
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
   Subsystem: Lenovo Kabini HDMI/DP Audio
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
   Kernel driver in use: pcieport
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
   Kernel driver in use: pcieport
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Carrizo Platform Security Processor
   Subsystem: Lenovo Carrizo Platform Security Processor
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
   Subsystem: Lenovo Family 15h (Models 60h-6fh) Audio Controller
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
   Subsystem: Lenovo FCH USB XHCI Controller
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_pci
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 49)
   Subsystem: Lenovo FCH SATA Controller [AHCI mode]
   Kernel driver in use: ahci
   Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
   Subsystem: Lenovo FCH USB EHCI Controller
   Kernel driver in use: ehci-pci
   Kernel modules: ehci_pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4a)
   Subsystem: Lenovo FCH SMBus Controller
   Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
   Subsystem: Lenovo FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 3
   Kernel driver in use: k10temp
   Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 4
   Kernel driver in use: fam15h_power
   Kernel modules: fam15h_power
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 5
01:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
   Subsystem: Lenovo QCA9377 802.11ac Wireless Network Adapter
   Kernel driver in use: ath10k_pci
   Kernel modules: ath10k_pci
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
   Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
   Kernel driver in use: r8169
   Kernel modules: r8169


extra info: badblocks did not report any issues
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby Chrisdb » 2019-08-30 04:53

At last I managed to reduce the realtime to about 5s :D

I changed the mount options of my partition to:
Code: Select all
rw,relatime


I guess there's no option to use these mount options during installation?
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby phenest » 2019-08-30 16:57

There certainly is. I specify noatime and nodiratime at installation.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1703
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

Postby Chrisdb » 2019-08-30 18:16

phenest wrote:There certainly is. I specify noatime and nodiratime at installation.

Do you mean the graphical installer? During which step?
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby phenest » 2019-08-30 18:36

I've never used the graphical installer, but it does on the text based installer.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1703
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

Postby Chrisdb » 2019-09-03 10:34

phenest wrote:I've never used the graphical installer, but it does on the text based installer.


I found it, but the install time took about 1 hour again :(
Seems like the options for the mount only take effect after installation?
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby Chrisdb » 2019-09-05 05:45

At last I found a solution :D

When I run the installer I have to set the mount options to: relatime,barrier=0
(note: setting barrier is only possible in expert mode)

More info can be found here:
https://superuser.com/questions/610827/identifying-cause-for-really-slow-write-speed-on-ssd-during-install

I only use the 'barrier' option during installation, afterwards this setting is removed.
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

Postby phenest » 2019-09-05 18:05

Nice find, Chris. I wasn't aware of barrier.
Is there any impact on performance removing barrier=0 afterwards?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1703
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

Postby Chrisdb » 2019-09-06 06:35

phenest wrote:Nice find, Chris. I wasn't aware of barrier.
Is there any impact on performance removing barrier=0 afterwards?


Sad to say, but this workaround is not an option :(
As stated on several sites:
Code: Select all
if the system does not have battery-backed disks, there is a risk of file system corruption


I'm going to experiment with some other options...(noatime instead of relatime, commit interval, ...)
User avatar
Chrisdb
 
Posts: 57
Joined: 2018-04-10 07:16

Previous

Return to Installation

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable