From nobody Thu Jan 27 21:48:01 2022 X-Original-To: freebsd-arm@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 A9FD11986349 for ; Thu, 27 Jan 2022 21:48:01 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JlDjD4NzVz4rGp; Thu, 27 Jan 2022 21:48:00 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 20RLm1dE051917 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 27 Jan 2022 13:48:01 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 20RLm1lu051916; Thu, 27 Jan 2022 13:48:01 -0800 (PST) (envelope-from fbsd) Date: Thu, 27 Jan 2022 13:48:01 -0800 From: bob prohaska To: Mark Millard Cc: Mark Johnston , freebsd-arm@freebsd.org Subject: Re: devel/llvm13 failed to reclaim memory on 8 GB Pi4 running -current Message-ID: <20220127214801.GA51710@www.zefox.net> References: <20220127164512.GA51200@www.zefox.net> <2C7E741F-4703-4E41-93FE-72E1F16B60E2@yahoo.com> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2C7E741F-4703-4E41-93FE-72E1F16B60E2@yahoo.com> X-Rspamd-Queue-Id: 4JlDjD4NzVz4rGp X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.90 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; R_SPF_NA(0.00)[no SPF record]; NEURAL_SPAM_SHORT(1.00)[1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-arm]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_WWW(0.50)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, Jan 27, 2022 at 12:12:20PM -0800, Mark Millard wrote: > > > On 2022-Jan-27, at 11:31, Mark Millard wrote: > > > On 2022-Jan-27, at 08:45, bob prohaska wrote: > > > >> Attempts to compile devel/llvm13 on a Pi4 running -current (updated > >> on 20220126) with 8 GB of RAM and 8 GB of swap has failed on two occasions using > >> make -DBATCH > make.log & > >> in /usr/ports/devel/llvm13 using the system compiler. The system is > >> self-hosted. > > Context question: ZFS? UFS? UFS > > (In things involving memory usage issues, knowing which is > always appropriate because of differences in memory use > patterns.) > > > > > Your context proves the metadata problem really happens, so > > the messaging should be fixed to not be misleading. > > I looked for and didn't find any "too much swap" warnings in the boot output, as expected with RAM=SWAP. > > > > But it looks like you have identified a test context > > for the "swap blk uma zone" and "swap pctrie uma zone" > > handling. I was hoping to reproduce the first failure, with clang exiting on error 139. Just for curiosity's sake I restarted the build of devel/llvm13 without cleaning. Looks like the result won't be known until morning. Thanks for reading, and all your help! bob prohaska