From nobody Mon Jan 15 16:36:08 2024 X-Original-To: dev-commits-src-main@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 4TDHp32nf1z57JNW; Mon, 15 Jan 2024 16:36:11 +0000 (UTC) (envelope-from karels@freebsd.org) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (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 (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TDHp325Xwz57NC; Mon, 15 Jan 2024 16:36:11 +0000 (UTC) (envelope-from karels@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 40FGa927088877; Mon, 15 Jan 2024 10:36:09 -0600 (CST) (envelope-from karels@freebsd.org) Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id kpNWCvlepWUrWwEAs/W3XQ (envelope-from ); Mon, 15 Jan 2024 10:36:09 -0600 From: Mike Karels To: Warner Losh Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, FreeBSD Release Engineering Team Subject: Re: git: 6137b5f7b8c1 - main - Increase the size of riscv GENERICSD images to 6 GB Date: Mon, 15 Jan 2024 10:36:08 -0600 X-Mailer: MailMate (1.14r6015) Message-ID: <45CAA8CA-9B5E-41D2-8416-83156B6AC721@freebsd.org> In-Reply-To: References: <202401151330.40FDU0q9009324@gitrepo.freebsd.org> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4TDHp325Xwz57NC X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.16.0.0/14, country:US] On 15 Jan 2024, at 9:37, Warner Losh wrote: > One question here... > > Do we need to include all the debugging stuff in /usr/lib/debug? i'ts o= ver > 1GB out of 5GB and seems like a poor fit > for this form factor. We can easily provide it as a package instead....= > > I know the inevitable march of largeness must progress, but we should a= sk > ourselves is this really a good use of that 1GB? > > Warner Good question. On riscv, /usr/lib/debug is 2.5 GB. (arm64 is 2.1 GB.) I'm also not sure what it would take to leave it off, although I would gu= ess that a tweak to installworld could do it if we need debug for other targe= ts. I think the package already exists. Of course, these images usually get expanded to a much larger size on the first boot, so maybe the space does= n't matter as much. Ideally, we'd keep the kernel debug, but that would probably be more work= =2E It would probably make the most sense to the same thing for other archite= ctures, although arm64 at least has headroom. The scripts to build the image fil= es are shared, but there is a config file per image. Opinions, anyone? We could ask on freebsd-riscv and maybe other lists to= o. Mike > On Mon, Jan 15, 2024 at 6:30=E2=80=AFAM Mike Karels wrote: > >> The branch main has been updated by karels: >> >> URL: >> https://cgit.FreeBSD.org/src/commit/?id=3D6137b5f7b8c183ee8806d79b3f1d= 8e5e3ddb3df3 >> >> commit 6137b5f7b8c183ee8806d79b3f1d8e5e3ddb3df3 >> Author: Mike Karels >> AuthorDate: 2024-01-14 17:01:19 +0000 >> Commit: Mike Karels >> CommitDate: 2024-01-15 13:28:53 +0000 >> >> Increase the size of riscv GENERICSD images to 6 GB >> >> The stable/13 snapshot this week failed to build the riscv GENERIC= SD >> image because it ran out of space. Checking main and stable/14 >> snapshots, they are also low on space, around 100% or more of >> capacity. Increase them all from 5 GB to 6 GB. Note, this is the= >> only riscv image configuration. >> >> Discussed with: cperciva >> --- >> release/riscv/GENERICSD.conf | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/release/riscv/GENERICSD.conf b/release/riscv/GENERICSD.co= nf >> index d0b1ee32743c..7bd58bc9f97b 100644 >> --- a/release/riscv/GENERICSD.conf >> +++ b/release/riscv/GENERICSD.conf >> @@ -7,7 +7,7 @@ EMBEDDED_TARGET=3D"riscv" >> EMBEDDEDBUILD=3D1 >> FAT_SIZE=3D"54m -b 8m" >> FAT_TYPE=3D"16" >> -IMAGE_SIZE=3D"5120M" >> +IMAGE_SIZE=3D"6144M" >> KERNEL=3D"GENERIC" >> MD_ARGS=3D"-x 63 -y 255" >> PART_SCHEME=3D"GPT" >>