Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2025 23:22:00 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Mohammad Noureldin <mohammad@thelightbird.com>, Freebsd current <freebsd-current@freebsd.org>
Subject:   Re: Very poor -CURRENT boot performance on AMD
Message-ID:  <3c7dab54-ac92-4a65-8517-e1636361e33d@FreeBSD.org>
In-Reply-To: <CAAQ96DxEOHexefyiFStHUYt6rnmGsGj%2BFvZhGyXqooaGyNEteg@mail.gmail.com>
References:  <CAAQ96DxEOHexefyiFStHUYt6rnmGsGj%2BFvZhGyXqooaGyNEteg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25. 2. 19., Mohammad Noureldin wrote:
> Hi,
> 
> I've installed -CURRENT using snapshot "FreeBSD-15.0-CURRENT- 
> amd64-20250213-6156da866e7d-275409" on an HP EliteBook 845 G10 with AMD 
> Ryzen 5 7540U.
> 
> Both when booting from the install media and when booting from disk 
> after installation I get a very poor boot performance up until the 
> FreeBSD Boot Options Menu. Right after it is all OK.
> 
> I've recorded what happens during the boot from the installation media 
> in [1].
> 
> Does this ring any bells ? Is it a bug that I should report in a PR 
> (Problem Report) ?
> 
> [1] https://drive.google.com/file/d/1s1a9qTwh-8gWOp0Lyta_Wc0RyUAkXTND/ 
> view?usp=sharing <https://drive.google.com/file/ 
> d/1s1a9qTwh-8gWOp0Lyta_Wc0RyUAkXTND/view?usp=sharing>

This happens because UEFI framebuffer access from boot loader is very 
slow.  Once the kernel is loaded and booted, everything is okay because 
we properly set memory attribute.  It's a long standing bug and there's 
PR254381.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254381

Jung-uk Kim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3c7dab54-ac92-4a65-8517-e1636361e33d>