Print Page | Close Window

speeding up UEFI boot

Printed From: ASRock.com
Category: Technical Support
Forum Name: AMD Motherboards
Forum Description: Question about ASRock AMD motherboards
URL: https://forum.asrock.com/forum_posts.asp?TID=11397
Printed Date: 30 Jul 2025 at 2:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: speeding up UEFI boot
Posted By: bjlockie
Subject: speeding up UEFI boot
Date Posted: 28 Apr 2019 at 5:18am

I use Linux.
This command analyzes the boot time:
$ systemd-analyze time
Startup finished in 24.047s (firmware) + 859ms (loader) + 3.283s (kernel) + 6.977s (userspace) = 35.168s

The firmware is apparently the UEFI initialization time.

https://unix.stackexchange.com/questions/445898/slow-boot-time-due-to-firmware-delay
Quote
The "firmware" part of the systemd-analyze report shows the time spent initialising EFI, i.e. the time elapsed between the instant you switched the power on (or the system rebooted) and the instant your boot loader started running. If you want to decrease that you'll need to investigate your motherboard's setup options.


I tried disabling CSM but I don't get any display.
I took out the video card to get at the BIOS battery to reset it. :-(

Does anyone know what I should look at in the BIOS for
https://asrock.com/MB/AMD/B450M%20Pro4/index.us.asp
?


-------------
ASRock B450M Pro4
16 GB DDR4, 500 watt PS, AMD Ryzen-5 5600, NVidia GTX-1050, 5.70 BIOS



Replies:
Posted By: xhue
Date Posted: 28 Apr 2019 at 6:08am
24s for UEFI alone is way too much even for this board. My total boot time is 24s with all fastboot options disabled.

It could be caused by many things, though. First thing that comes to mind is CPU can't train the memory correctly.

You can start by clearing CMOS and updating BIOS first.

Also, why use CSM with Linux in first place? Unless you use generic MS CA with some distros, or you bake your own certificates, CSM (and SecureBoot, respectively) makes little sense.


Posted By: bjlockie
Date Posted: 28 Apr 2019 at 9:42am
Originally posted by xhue xhue wrote:

why use CSM with Linux in first place? Unless you use generic MS CA with some distros, or you bake your own certificates, CSM (and SecureBoot, respectively) makes little sense.


I booted again and now it says:
$ systemd-analyze time
Startup finished in 15.188s (firmware) + 268ms (loader) + 3.341s (kernel) + 7.494s (userspace) = 26.292s
graphical.target reached after 7.488s in userspace

I didn't change anything in the BIOS.

I have the latest BIOS.

I don't bot anything but Linux.
I thought I could disable CSM in the BIOS but it doesn't seem to work.


-------------
ASRock B450M Pro4
16 GB DDR4, 500 watt PS, AMD Ryzen-5 5600, NVidia GTX-1050, 5.70 BIOS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net