From nobody Fri Nov 07 16:41:13 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 4d34Zc0HNhz6GBhP for ; Fri, 07 Nov 2025 16:41:28 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-20.consmr.mail.gq1.yahoo.com (sonic317-20.consmr.mail.gq1.yahoo.com [98.137.66.146]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4d34Zb2xh2z3k5d for ; Fri, 07 Nov 2025 16:41:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1762533685; bh=GDj47Qyky2Q0GCW7pZD5wUFo+GLsLI05ilhvp7GJv/0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=T4Xq61Y8YJ4US0jMWGDSCaEbXnWu49ydVkwLiJwzja/6oFu85DuBVIUfKtGkltodwRS9zN2lg4MuiSccwVvuVHNLOKWwiSyfAJl/6bDIEaHC0Pon/AT4d85Qw4E9wxo7Qfzy30lPnEaNlAHpUdGMPk4FDo7AUhdojuupmQ5A3yeM1d0V24AAX5F68OKj+lK+3+KUEzaw7EB68Mt8igWRGQ5S1T5GBUWqeNTksOlQoJCsn0IVXgtz9QSUwftugKqSVgyvRFFyWOxOZ8gZGbzIk3lQr9VKkmtUoPzCYpH2tI9gJs+RI1X4kmIlw5mcMl1BAugiKVeBYNWPEuYfGfeV1g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1762533685; bh=Xg+T333S4KU/CahOLANkwDfh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gpGk4Wx7MO1PBC3xJ7oL1_Rf2IIW43o8g4IptWLbC_fZSIW..tmeqp9cIoMssWyJtaL2HOirTl bHpTpQ.v9xOIT.9TU2rGPCgUz22Suqm_PDyn3qOegOmM_DmVBdmGROPJd6EX_T5vMu6K3ShLiQed qDbFJE8znLgdVhtJwgsv63AFW4wfQKesLC7mQXDBV1bK67cTt76i3xzelGSx9j2CsVpdB41Z_izQ SsPytPdHrxvdjU.fgUKs9bueY0ddSDjqiMN_JTcNK.Vi7FpoCI08C4_ZbOQ32AjP_1S6OhYJtbmI ZEydvqrIfFJeXUQ.EEOSY5xDLN71GOTVruYScu8e2ROtU8dzsqfHbkFKkxBsbyjaJZI3sp7rKukA zjqlOWNXwp34V8rb.XLLKblvLwXOhzx54gUCWpgTCr3EsozztXd2Kpvhrvrm9MvDi2LHyLskA0FI FJm3k2hshEjMZZ0SipvZHa94ABmYYf3aYWT8eS98F5bOePb11EHjOMCQFEFa7mqb3DmpG6KQSZHo uPWKgs_DtyqdSpcHUP97fMx8S1zbDvXibaQbHXXEEoirso_O3TWdC1NjI.tq3YFpdoz7hE7nfNwD s X-Sonic-MF: X-Sonic-ID: 90f09f8f-c90e-41c3-86af-726544616dd7 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Fri, 7 Nov 2025 16:41:25 +0000 Received: by hermes--production-gq1-86c5846576-db8fx (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 21faa6fa16be9d7e0c50f4d3ffed2cd6; Fri, 07 Nov 2025 16:41:24 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: Arm v7 RPi2 -current unresponsive to debugger escape during buildworld From: Mark Millard In-Reply-To: <8939ABFB-B315-4DFE-8CD9-296B8A117053@gromit.dlib.vt.edu> Date: Fri, 7 Nov 2025 08:41:13 -0800 Cc: bob prohaska , Ronald Klop , freebsd-current@freebsd.org, freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <475995705.6919.1762440301455@localhost> <05ADBC62-E111-42F9-ACF2-3A92F2781870@yahoo.com> <8939ABFB-B315-4DFE-8CD9-296B8A117053@gromit.dlib.vt.edu> To: Paul Mather X-Mailer: Apple Mail (2.3826.700.81) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4d34Zb2xh2z3k5d On Nov 7, 2025, at 07:42, Paul Mather wrote: > On Nov 6, 2025, at 9:22=E2=80=AFpm, bob prohaska = wrote: >=20 >> On Thu, Nov 06, 2025 at 10:00:19AM -0800, Mark Millard wrote: >>> On Nov 6, 2025, at 08:38, bob prohaska wrote: >>>=20 >>>> On Thu, Nov 06, 2025 at 03:45:01PM +0100, Ronald Klop wrote: >>>>> Hi, >>>>>=20 >>>>> To me it sounds like your machine is overwhelmed by swapping. >>>>>=20 >>>>> Try -j1 buildworld. >> Maybe a -j1 buildworld could be at least somewhat informative. >> Lately none of my Pi2's has made it through buildworld=20 >> without hanging silently. If -j1 buildworld completes, >> that would be a significant change. The test will take a >> week, but the problem has been going on for a year. >=20 >=20 > This isn't related directly to building on the RPi2, but just a = general comment that on a system with 1 GB RAM like the RPi2, building = with -j3 (or anything more than -j1) is probably wishful thinking at = this point given it seems the RAM requirements of LLVM right now seem to = be creeping ever upwards. Bob has been building FreeBSD on these RPi2 v1.1 and other RPi*'s for = many years. He is familiar with the progression for resource requirements. But his activities have also previously helped with identifying problems = and providing evidence about problems that have lead to FreeBSD fixes --and = to configuration recommendations that have proved handy for me for far = bigger systems doing system and port-package builds (including normally rare "bulk -Ca" built tests). > LLVM 19.1.7 seems slower and more memory-hungry than ever before. = Maybe it's LTO? For the most part it seems LTO is not enabled by default because of its resource requirements (including time and RAM+SWAP). Are you = deliberately choosing to build some stuff with LTO in use? I avoid it. > I don't know. My current bugbear is the databases/mongodb70 port = which will no longer build for me on the 16 GB RAM FreeBSD/amd64 = 14-STABLE system I use to build ports locally via Poudriere. Type of processor? How many FreeBSD CPUs? ZFS? UFS? Other use of the system that competes for resource during the build? poudriere.conf : USE_TMPFS=3D??? TMPFS_BLACKLIST=3D??? PARALLEL_JOBS=3D??? # (or command line control of such) ALLOW_MAKE_JOBS=3D??? # (defined vs. not) ALLOW_MAKE_JOBS_PACKAGES=3D??? MUTUALLY_EXCLUSIVE_BUILD_PACKAGES=3D??? PRIORITY_BOOST=3D??? other relevant possibilities? make.conf (or command line control of such): MAKE_JOBS_NUMBER_LIMIT=3D??? # or MAKE_JOBS_NUMBER=3D??? Do you use anything like: # Delay when persistent low free RAM leads to # Out Of Memory killing of processes: vm.pageout_oom_seq=3D120 Or: # # For plunty of swap/paging space (will not # run out), avoid pageout delays leading to # Out Of Memory killing of processes: #vm.pfault_oom_attempts=3D-1 # # For possibly insufficient swap/paging space # (might run out), increase the pageout delay # that leads to Out Of Memory killing of # processes (showing defaults at the time): #vm.pfault_oom_attempts=3D 3 #vm.pfault_oom_wait=3D 10 > It will grind away for hours and ultimately fail due to the compiler = being out of memory at some point. I found a Bugzilla report by someone = who attested it required 24 GB RAM to build, and it will only = successfully build now for me if I add an extra 30 GB swap or so on that = build system. Even then, it takes an age to build: the last successful = one being 12:39:27 (and that potentially benefitting from prior ccache = builds). That mongodb70 port takes about an order of magnitude longer = to build than an entire buildword/buildkernel on the same system. >=20 > I guess building software yourself just takes more RAM these days, and = recognise that the RPi2 does not have much RAM in the grand scheme of = things by today's standards. I hope a "-j1" build works for you. =3D=3D=3D Mark Millard marklmi at yahoo.com