From nobody Fri Jan 28 15:34:39 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 AD6C71984928 for ; Fri, 28 Jan 2022 15:34:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-20.consmr.mail.gq1.yahoo.com (sonic309-20.consmr.mail.gq1.yahoo.com [98.137.65.146]) (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 4JlhN81tqQz4f04 for ; Fri, 28 Jan 2022 15:34:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643384081; bh=C7rBfcwEGjF7b+7tggb1VYmyOmU1D6q53MmSs/O8Fbo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=d71In8ogUw8JeaDjS4sFHXtGqzJqYAZKU5R9YUl6YjEIA/jOWiX9i+u6pnKZuM9bf07rjG5d6pcZq9K4mQDvBMnTHGZR/qzQDwgF2tUrWAolayqPBxvoUmODEJIkpvMPUngAVbiBXq7qxCpp+sDHE3rDGjTL0KIlLOeWMwP3doOA0kqG9XmF6BKr5+GjuHc1QPEry7okoW5oQfM5uEhbmqNy72VdST3ifLF3uem9tIyVQRnaGLyyW5R77fv+eU9a+jYZ72UMBrr/3/KRKbQloyP1MaPZ/E9IrDRpOAoqdI1Ta+qREeRMeIoCId4jbGDnpVU2X/r2nPwa0BR5b9M1qA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643384081; bh=KEg0wvqvAOavuTdQ9aHOZ7ADxaSnGZXto9hyIDQBmO2=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=OYTgJrnn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DE6rno5W3oN4t_R7OoBKgNY_SfuGu8N_ W8pYIgqfR4TzerQkmQyyt4vlcHsXb.ILUfxlsgwS.rZeKE_SG7VirJxfTUTofF0N2KN3D3w3soZ8 EgSR.llYT2kX5CaTIBa0SdtKLwTEH_NiN5_GxBsfD9vweEnSRgWuXobm4IaTFb48Osl2uxb41VjC 8QEpJOOVblvKg.S9hRTKm7j6UZC9QB2BQeKgDNfUpIWey51rWYZiMlsL6spauuR.m9p9sfjC4Hfn vrvvd28eE_C5RQj.ikDLeFKChU3zK6tHaEh.2wOczuPxPfMxzBsV2iqHMBwoGj8_MOb2M5.jgJZ7 J.OQCZymdGqg71jP9Y3UFxYaJg7lSUWj6xRjs3n._1o.drVgF0zGI3jP7NqRS4f1lUG4.U_hYp2O 9NFoFM3gvzMYMR6pDzg7ZPS2JD5uUti5NJ93gHBP94ADwMuCjCLhbDYalneIBouLexNjBOzlVHpT 3KNbWjqmsbUki_NhFLHFbBzPe_YwjmXi8_nluSABMxt76BB2Oo4MC7q7NtWz2sRvbSEmgCztph14 5akT1B1FkGyuUPWYpWzmTTvg4KCA- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Fri, 28 Jan 2022 15:34:41 +0000 Received: by kubenode533.mail-prod1.omega.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID e6c868ec6faf66d9613e49c49718d2e5; Fri, 28 Jan 2022 15:34:39 +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 [correction to early claim] From: Mark Millard In-Reply-To: Date: Fri, 28 Jan 2022 07:34:39 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20220127164512.GA51200@www.zefox.net> To: bob prohaska , Mark Johnston X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4JlhN81tqQz4f04 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=d71In8og; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.146 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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)[]; RCPT_COUNT_THREE(0.00)[3]; 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.146:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.146:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N [An explicit correction, with Mark Johnston included.] On 2022-Jan-27, at 11:31, Mark Millard wrote: > 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 >> The first failure reported clang error 139, but the second >> was different, reporting only: >> FAILED: = tools/flang/lib/Evaluate/CMakeFiles/obj.FortranEvaluate.dir/check-expressi= on.cpp.o >> along with a console report of >> +swap_pager: indefinite wait buffer: bufobj: 0, blkno: 1258432, size: = 4096 >> +swap_pager: indefinite wait buffer: bufobj: 0, blkno: 627221, size: = 8192 >> +swap_pager: indefinite wait buffer: bufobj: 0, blkno: 240419, size: = 4096 >> +swap_pager: out of swap space >=20 > In recent builds, such as yours, the above "out of swap" is a > misnomer but is very interesting for what it is actually about. Wrong: The message with the "swap_pager: " prefix is valid. The misnomer messages do not have that prefix. > . . . >=20 > Your context proves the metadata problem really happens, so > the messaging should be fixed to not be misleading. >=20 Again wrong: My testing with monitoring every few seconds indicates that the system is running out of swap, matching the specific message that was generated. I'm still running tests of the specific behavior for vm.pfault_oom_attempts=3D -1 # done vs. vm.pfault_oom_attempts=3D 3 vm.pfault_oom_wait=3D 10 After that I intend runs with 30 GiBytes of swap (so RAM+SWAP 38 = GiBytes). Hopefully that will complete and I'll be able to report how much swap = was observed to have been used. =3D=3D=3D Mark Millard marklmi at yahoo.com