ASRock.com Homepage
Forum Home Forum Home > Technical Support > AMD Motherboards
  New Posts New Posts RSS Feed - speeding up UEFI boot
  FAQ FAQ  Forum Search Search  Events   Register Register  Login Login

speeding up UEFI boot

 Post Reply Post Reply
Author
Message
bjlockie View Drop Down
Senior Member
Senior Member


Joined: 17 Nov 2015
Status: Offline
Points: 1394
Post Options Post Options   Thanks (0) Thanks(0)   Quote bjlockie Quote  Post ReplyReply Direct Link To This Post Topic: speeding up UEFI boot
    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
Back to Top
xhue View Drop Down
Groupie
Groupie


Joined: 17 Aug 2018
Status: Offline
Points: 634
Post Options Post Options   Thanks (0) Thanks(0)   Quote xhue Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
bjlockie View Drop Down
Senior Member
Senior Member


Joined: 17 Nov 2015
Status: Offline
Points: 1394
Post Options Post Options   Thanks (0) Thanks(0)   Quote bjlockie Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.