From nobody Thu Feb 20 04:22:00 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yz0TP5q48z5pC1Y for ; Thu, 20 Feb 2025 04:22:01 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yz0TP58m0z3M1Z; Thu, 20 Feb 2025 04:22:01 +0000 (UTC) (envelope-from jkim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740025321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ssd/ULZyfHCty/VS2OWk6kywU7ah9tr+qnxlf37gTaE=; b=wckrfj+UzzOpU++Qzlw7uwqANjcQKGuiOuYTgybNx5pK8g971DtW7wfIalfWxF5hqCrDrK D267pAW5mbaGtN/oYI9JiD43KI3UiNAsMBH0P2+jvEyrQJHRFWMoIif4SV8L953BsVL/S7 B7QvfdOoSKebyRb8H09qh+tjRXxpjX7AlUBAyeuVrdeuhT9dQdHvPgkJBIXkYznIOQcOQI f09HPHVzA0QetA4IUFxcML83QBwdIwnEjJZNi6iCNhq6Fy2aKAQMYY1X0miP8/gIbyojid wJYLQDD3SpsjroKLqzrUdbfbDRKXPMkp9tT/AuuPzxdJzYJn1TxLUQjVeSQ97g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740025321; a=rsa-sha256; cv=none; b=fD8JqCRppkvXTEEHb/HUbxYhVJxBnz1E8B3KYXm+HsELrfj2K7V86UdaIrBYvSA8QFHIw7 25fWn6eXr0+2q6BqWGKq+D5ADk7shqf7DbQLS7rihOqI4c2YHN76E+U+DGe4oeqU2/ejuE q4kN7ENEi4WuGOA/1eYSygKZJ3By3zM6LwCdMNbBHK8E9+dnFFj5ZQuUbci966Uyf7TRpj nQCZWufaFAYqYezBG4HYqsJP65D7emHX6mktcuxf+YnVVvyhpUs/hIz09pHUa60JA7+ACt BkniitZP5jAe7QALkJKbaMfnSt3rvJ/qPCFTL1w1yVHM5vvHj5OraKer3YNmXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740025321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ssd/ULZyfHCty/VS2OWk6kywU7ah9tr+qnxlf37gTaE=; b=jmdQiAVaGsZ1FObHgzkP6IuHOOy84GlAu/KE8KwJfwMDdAYiAAzs0ExKaIYMpnXUd+Rg8k msEeHCDCjRpzL0n/6dWuGPUXzoblqBQMamxmf83oZ3jUqK82FeUH4LgUyT8j2j12saH9NJ QAZmf505WDCJvxpcITQ5PSvzK00CeUVzcBN9mr05iZTq81CzddGxQpXxcln63abXv0pC4Z N/5t8eFiKStEKxQiqTJG0HTjK/W5Wep8RsX8xvEDyCYsXB+X8G2cGRfcnT0AbuO61QPoZi 6ynoGDpscpTm9pMygyppVtzSpxnK6qi6YOXUtSg0aeuzDP08RhE2A2Q285espw== Received: from freefall.freebsd.org (unknown [IPv6:2600:4040:a6c3:2900:506:2666:153d:532c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jkim/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Yz0TP4MjCzQXH; Thu, 20 Feb 2025 04:22:01 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Message-ID: <3c7dab54-ac92-4a65-8517-e1636361e33d@FreeBSD.org> Date: Wed, 19 Feb 2025 23:22:00 -0500 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Very poor -CURRENT boot performance on AMD To: Mohammad Noureldin , Freebsd current References: Content-Language: en-US From: Jung-uk Kim Organization: FreeBSD.org In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 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