Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

buster finishing installation takes long

Ask for help with issues regarding the Installations of the Debian O/S.
Message
Author
Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

#16 Post by Chrisdb »

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
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

#17 Post by phenest »

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

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

#18 Post by Chrisdb »

Ok, so what are the next Steps to determine the root cause?

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

#19 Post by phenest »

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

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

#20 Post by Chrisdb »

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

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

#21 Post by Chrisdb »

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
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

#22 Post by phenest »

There certainly is. I specify noatime and nodiratime at installation.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

#23 Post by Chrisdb »

phenest wrote:There certainly is. I specify noatime and nodiratime at installation.
Do you mean the graphical installer? During which step?

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

#24 Post by phenest »

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

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

#25 Post by Chrisdb »

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?

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

#26 Post by Chrisdb »

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/ ... ng-install

I only use the 'barrier' option during installation, afterwards this setting is removed.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: buster finishing installation takes long

#27 Post by phenest »

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

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: buster finishing installation takes long

#28 Post by Chrisdb »

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, ...)

Post Reply