From nobody Thu Jan 27 22:21:44 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 7D37F1983C77 for ; Thu, 27 Jan 2022 22:22:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JlFSS1rsdz3Lxf for ; Thu, 27 Jan 2022 22:22:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643322112; bh=s/XfRClZuMa7vr56/qPot0FI4fagoRCrReIWB7ZKl5I=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=NnBWxBVZ3UN5U0klhoKagkHuL435ZFC2exA6vwr48+j0QcX93YwxgQJUjO7oFh9WuoNLV46ooGuI8eSZ7p/CQD5bfpjSkyGxUY765Kx/hMfiQ60OGR7V+qv6evK7KtHwZYyc+YsxxjPk3c8S/jdOCXQ1nKR9OS+3WtCkm9Pfq9Xhq0YpDlMN0qpGxbLVO783SoyWq9EyyV14Te6rXwldwf+VpO4bN2jLmNJZRVyhcgVFgEtBLpo7yyec32sNrbbDxQ5K9GWlkCDHHnf8N49oNG9SQO51c5q0Y2rRZxEHhMdOcoD8xiSwSDO0ugnKJvxJb226463qu4X9XSgSXpUq2g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643322112; bh=zFO2D7HpJx9yLpZNY1ZUVOiJRi2xtgcwpuYbjcrJKe6=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=bQTDO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bVIOBxs95.1DHVKadB9ICh 1g.UaqdImTtSvsgPnwiovf_7yY.0tg_vV1M3UzOoYngXQpMix3bSx9Yf.LfzwRGwZ0xds2sdsb.O Abgdn6l01pLLH9Wam.62fLKenootLm8z7CgtrZ7K_7KLOi9A73pL74GMQGCMCUGNCHZwRgW1Hgjl Ktd8WS03VkIXnLDRKwqknvH0fghhS7pv4FlNWw8zKHZLsseQcQVUBPblB0YqCM4ROiRMceAZR1EV aLbmNiSUYDEwKLq9bpg77Bh3KW2mstHiAmyipoHAjOhVKr3BVIoCM1rLNV9TvmYTeCHwzS.GYa2K lSJwngK4zHbxG2vN74L5S.ll4O1x4qAbCOtf.HFSbBLS.KhbZMbG2nIHILF09dp0kQMbCiM3Z9G9 jZBVqjqBNNyjTJUWWT5u1bpWzO5CEE7p4tmsw8IBhuvMu1W9acfbQWjSPz2em.HNVH.fxpaLKI0S MFwq46P9BkPUG37tsy.RZnfa6dpMNp1Ww7ZA2fwOkBmkyYn_eaE2MIoyjH3BuR.FmGmTU3YkfbnH TGImS8sgibYBLsw-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Thu, 27 Jan 2022 22:21:52 +0000 Received: by kubenode507.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 181d07918215198296cb5d997326420f; Thu, 27 Jan 2022 22:21:46 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: devel/llvm13 failed to reclaim memory on 8 GB Pi4 running -current From: Mark Millard In-Reply-To: <20220127214801.GA51710@www.zefox.net> Date: Thu, 27 Jan 2022 14:21:44 -0800 Cc: Free BSD Content-Transfer-Encoding: quoted-printable Message-Id: <5E861D46-128A-4E09-A3CF-736195163B17@yahoo.com> References: <20220127164512.GA51200@www.zefox.net> <2C7E741F-4703-4E41-93FE-72E1F16B60E2@yahoo.com> <20220127214801.GA51710@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4JlFSS1rsdz3Lxf X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=NnBWxBVZ; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-0.998]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.147:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.147:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jan-27, at 13:48, bob prohaska wrote: > On Thu, Jan 27, 2022 at 12:12:20PM -0800, Mark Millard wrote: >>=20 >>=20 >> On 2022-Jan-27, at 11:31, Mark Millard wrote: >>=20 >>> On 2022-Jan-27, at 08:45, bob prohaska wrote: >>>=20 >>>> 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=20 >>>> make -DBATCH > make.log &=20 >>>> in /usr/ports/devel/llvm13 using the system compiler. The system is >>>> self-hosted.=20 >>=20 >> Context question: ZFS? UFS? >=20 > UFS Okay. I just started a poudriere bulk devel/llvm13 build in a ZFS context: . . . [00:00:37] Pkg: +BE_AMDGPU -BE_FREEBSD +BE_NATIVE -BE_STANDARD +BE_WASM = +CLANG +DOCS +EXTRAS -FLANG +LIT +LLD +LLDB +MLIR -OPENMP -PYCLANG [00:00:37] New: +BE_AMDGPU -BE_FREEBSD -BE_NATIVE +BE_STANDARD +BE_WASM = +CLANG +DOCS +EXTRAS +FLANG +LIT +LLD +LLDB +MLIR +OPENMP +PYCLANG . . . [00:01:27] [01] [00:00:00] Building devel/llvm13 | llvm13-13.0.0_3 I have my patched top monitoring and reporting various "Maximum Observed ???" (MaxObs???) figures. May be I can get a 8GiByte RPi4B UFS context updated and going as well. >>=20 >> (In things involving memory usage issues, knowing which is >> always appropriate because of differences in memory use >> patterns.) >>=20 >>>=20 >>> Your context proves the metadata problem really happens, so >>> the messaging should be fixed to not be misleading. >>>=20 >=20 > I looked for and didn't find any "too much swap" > warnings in the boot output, as expected with > RAM=3DSWAP. Good to know that nothing was odd about the boot's swapon activity. >>> But it looks like you have identified a test context >>> for the "swap blk uma zone" and "swap pctrie uma zone" >>> handling. >=20 > I was hoping to reproduce the first failure, with clang=20 > exiting on error 139. Just for curiosity's sake I restarted=20 > the build of devel/llvm13 without cleaning. Looks like the > result won't be known until morning.=20 Note: I dropped Mark Johnston from the TO/CC --at least until we have technical information about the vm subsystem's behavior that might be interesting, such as which metadata caused the messaging. (The context being uFS may have been of interest, for example, but nothing in my reply does him any good.) =3D=3D=3D Mark Millard marklmi at yahoo.com