I’m posting this because the boot time on my fresh Manjaro install seems to be quite slow.
For the context, I bought a new laptop last week and after the initialization and a few minutes on Windows, I installed Manjaro. The boot time with Windows 10 was about 3-5s and now it’s rather about 18s, mostly because of the firmware. I know 18s is bearable, but since it’s 4 times faster on windows and that my old laptop with Manjaro was booting in about 5s as well, I guess something can be done.
Here are the few commands I found that could help for such matters and their outputs:
First the exact time to boot:
systemd-analyze Startup finished in 13.870s (firmware) + 1.124s (loader) + 1.136s (kernel) + 2.080s (userspace) = 18.212s graphical.target reached after 2.061s in userspace
Some info about my system:
inxi -Fza System: Kernel: 5.9.3-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=66e61614-0f2c-4644-8848-a2a898f35f88 rw iommu=soft quiet udev.log_priority=3 Desktop: GNOME 3.38.1 tk: GTK 3.24.23 wm: gnome-shell dm: GDM 3.38.1 Distro: Manjaro Linux Machine: Type: Laptop System: HUAWEI product: KLVL-WXX9 v: M1140 serial: <filter> Mobo: HUAWEI model: KLVL-WXX9-PCB v: M1140 serial: <filter> UEFI: HUAWEI v: 1.05 date: 08/21/2020 Battery: ID-1: BAT0 charge: 40.5 Wh condition: 55.7/54.9 Wh (101%) volts: 8.0/7.6 model: Sunwoda- HB4593R1ECW-22T0 type: Li-ion serial: <filter> status: Discharging cycles: 4 CPU: Info: 6-Core model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP arch: Zen family: 17 (23) model-id: 60 (96) stepping: 1 microcode: 8600104 L2 cache: 3072 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 71897 Speed: 1397 MHz min/max: 1400/3000 MHz boost: enabled Core speeds (MHz): 1: 1398 2: 1397 3: 1397 4: 1397 5: 1397 6: 1393 7: 1394 8: 1397 9: 1397 10: 1397 11: 1397 12: 1396 Vulnerabilities: Type: itlb_multihit status: Not affected Type: l1tf status: Not affected Type: mds status: Not affected Type: meltdown status: Not affected Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling Type: srbds status: Not affected Type: tsx_async_abort status: Not affected Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Renoir driver: amdgpu v: kernel bus ID: 04:00.0 chip ID: 1002:1636 Device-2: IMC Networks HD Camera type: USB driver: uvcvideo bus ID: 3-4:4 chip ID: 13d3:56db serial: <filter> Display: wayland server: X.org 1.20.9 compositor: gnome-shell driver: amdgpu,ati unloaded: modesetting,radeon alternate: fbdev,vesa display ID: 0 resolution: <xdpyinfo missing> OpenGL: renderer: AMD RENOIR (DRM 3.39.0 5.9.3-1-MANJARO LLVM 10.0.1) v: 4.6 Mesa 20.2.1 direct render: Yes Audio: Device-1: Advanced Micro Devices [AMD/ATI] driver: snd_hda_intel v: kernel bus ID: 04:00.1 chip ID: 1002:1637 Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus ID: 04:00.5 chip ID: 1022:15e2 Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio driver: snd_hda_intel v: kernel bus ID: 04:00.6 chip ID: 1022:15e3 Sound Server: ALSA v: k5.9.3-1-MANJARO Network: Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: & Tele RSH driver: rtw_8822ce v: N/A modules: rtw88_8822ce port: 2000 bus ID: 01:00.0 chip ID: 10ec:c822 IF: wlp1s0 state: up mac: <filter> Drives: Local Storage: total: 476.94 GiB used: 10.57 GiB (2.2%) SMART Message: Required tool smartctl not installed. Check --recommends ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730 SDBPNTY-512G-1027 size: 476.94 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 11120000 scheme: GPT Partition: ID-1: / raw size: 476.64 GiB size: 468.16 GiB (98.22%) used: 10.57 GiB (2.3%) fs: ext4 dev: /dev/nvme0n1p2 Swap: Alert: No Swap data was found. Sensors: System Temperatures: cpu: 36.2 C mobo: N/A gpu: amdgpu temp: 36.0 C Fan Speeds (RPM): N/A Info: Processes: 268 Uptime: 7m Memory: 15.02 GiB used: 1.73 GiB (11.5%) Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1080 lib: 315 Shell: Zsh v: 5.8 running in: gjs inxi: 3.1.08
I’ve already disabled everything I could in my BIOS settings that I was not using (such as Virtualization Technologies or PXE), but once again, Windows booted in no time even with those settings enabled so I don’t understand the time differences.
Does anyone have an idea about what I could do ?
Thanks in advance