You are not logged in.

#1 2021-12-29 19:00:29

glang0
Member
Registered: 2021-12-29
Posts: 1

Boot time on arch is extremely slow on NVMe SSD

I am currently running the latest install of Arch Linux (kernel: 5.15.11-arch2-1) with Gnome 41.2. I am booting off an nvme ssd with full disk encryption. /boot is unencrypted and instead of LVM I have two ext4 partitions (one for / and /home). This was the default partition layout from the archinstall script.

Apologies if there is an issue with formatting or how I went about posting this, it is my first time posting on the forums and I have tried to debug this based off of my knowledge and the arch linux forums to no avail.

systemd-blame yields:

Startup finished in 6.199s (firmware) + 3.230s (loader) + 33.422s (kernel) + 3.083s (userspace) = 45.936s
graphical.target reached after 3.065s in userspace

This makes me believe that the issue is in loading the kernel. Honestly, I don't mind the three seconds of loading in userspace, I'm more interested in chopping down the thirty three seconds in loading the kernel.

Here is a snippet of dmesg around where the boot time increases so much:

[    2.390868] usb 3-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    8.021332] random: crng init done
[   33.414733] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   33.482225] systemd[1]: Successfully credited entropy passed from boot loader.

I am unsure on where to go from here.

Thank you so much for helping me out with this issue, please let me know if there is anything else I can provide to help diagnose this problem.

Offline

#2 2021-12-29 21:16:41

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Boot time on arch is extremely slow on NVMe SSD

A quick search brings up https://askubuntu.com/questions/1164632 … -load-time — does that help?

If not then please post the entire content of the systemd journal just after the system boots. Your posted snippet may have missed some important information. Be sure to use code tags when posting the output though, it will be fairly lengthy. Use a pastebin site and provide a link here if it's very long.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB