From nobody Sun Sep 29 15:25:19 2024 X-Original-To: dev-commits-src-all@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 4XGp1D4Dzjz5XpPQ; Sun, 29 Sep 2024 15:25:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XGp1D0xNFz4kvS; Sun, 29 Sep 2024 15:25:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727623520; 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; bh=VD3EVe5gdPFt0z44VP0vU+Hqbb/moGkpQcf/Hdd8Ebc=; b=m7c0cUjAslHV1Fxbu/C44knjawvnY2OX22+teBdjJtJNC7WTLKyMUf1M6vc0QZhtCax2NJ iDWF2J2ugPMt9fsNbN+xV4ErCZVoC0caNSJaYVpLuNGt1LhSiA0L5DvkUD2hzWEQHIb1G8 hhCLZ9+fznq4MvnwCr5CUNkcPfE07ZMqmR98xCCnjEoRA4Q6jKOrI3kGnZZeVzfsrfRnCY sq3TAmkW51IIBXRgYmWG9Atoex/TczEMOWv48RQh+/SZURmENEv9mbp5qobZgCphYoz1jQ vQKxFpcPzOxQUnHUhIbYO+fT1vqOeFzMDgI/ktz4DAF9XNLkfAY6tg0b3/zqug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727623520; 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; bh=VD3EVe5gdPFt0z44VP0vU+Hqbb/moGkpQcf/Hdd8Ebc=; b=Q0GEO+biQ58t069FCfYxnvDlaJmN+kDvYLGOId9loV/tMM81LXtRim1gAJ/lzADGFsO/0W gDHBzIbBOTj/X38SMWZ5akgE2OmNJHK3FJJ+k4md25sojuWgWpJfoROXlXuWGBTMHPlH1g JR0qs1hQnFJl1HSp4zyqa9N5ZchfO9L7SVrRd2vS7Fa6ppGMCBE7jNfYa6csAENMSF1u7x k41Ogt9AV8s0yWpVmiuQ7VjGc41uzqvXihDRHhc6OayngnXTRWpF3fer3Avr7y+2KHjKZz NYTAnCa8OFfdYy97kYfJ+QlRaiyAbXcZcz65IIIuQUYIe4VCbyLF4/fMxdc1bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727623520; a=rsa-sha256; cv=none; b=o7ryuMJQ3LQdLNERcZw/Aneh9NeRJSIbJYs3a7x7ljQowh7Yex9Lqeuo3yQnA2P+D9XbZY wnc5490t6zUKY2g0Y9OSF54Bn4HSVPtA2aob9JW/YblR4zsVWWX8Q6t90NqJhuFVF6Yv0a toJNmFq1BxDH4qB0wCbzkO+od5zvmalzCX2Ef0MHs53ElN6ddOELAwgI5zw+Yl+4HxMgaP zdD4bOfwMz0kHWOcze+a8+XX92vkcPwr+EuUAoJs3aQncWfdBNDZN4/iJqFFCYBb//b0em DkJimJ5bOaGLtjGDvZnzeaUW6GClzBkRCr/rGM9z+EYp+ro6ZEhzdYnm+1VrHA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XGp1D0Pm0z1Cvf; Sun, 29 Sep 2024 15:25:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48TFPJLf030603; Sun, 29 Sep 2024 15:25:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48TFPJFP030600; Sun, 29 Sep 2024 15:25:19 GMT (envelope-from git) Date: Sun, 29 Sep 2024 15:25:19 GMT Message-Id: <202409291525.48TFPJFP030600@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Colin Percival Subject: git: 82ade8ed7e70 - stable/14 - EC2: Set entropy_efi_seed_size to 64 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 82ade8ed7e70ad99aa5a35b6947de06a2efe3257 Auto-Submitted: auto-generated The branch stable/14 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=82ade8ed7e70ad99aa5a35b6947de06a2efe3257 commit 82ade8ed7e70ad99aa5a35b6947de06a2efe3257 Author: Colin Percival AuthorDate: 2024-09-18 11:02:15 +0000 Commit: Colin Percival CommitDate: 2024-09-29 15:24:52 +0000 EC2: Set entropy_efi_seed_size to 64 This dramatically improves boot speeds on Graviton 2 instances. MFC after: 1 week Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D46636 (cherry picked from commit 714a6d436819d446e01d1e4741fbe1089a23fe57) --- release/tools/ec2.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf index 2cca5fa713af..522aaa400520 100644 --- a/release/tools/ec2.conf +++ b/release/tools/ec2.conf @@ -38,6 +38,10 @@ ec2_common() { echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf + # The EFI RNG on Graviton 2 is particularly slow if we ask for the + # default 2048 bytes of entropy; ask for 64 bytes instead. + echo 'entropy_efi_seed_size="64"' >> ${DESTDIR}/boot/loader.conf + # Tell gptboot not to wait 3 seconds for a keypress which will # never arrive. printf -- "-n\n" > ${DESTDIR}/boot.config