From nobody Fri Sep 08 20:32:06 2023 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 4Rj78C4GTrz4sdrF for ; Fri, 8 Sep 2023 20:32:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (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 4Rj78B3Lk9z4cGj for ; Fri, 8 Sep 2023 20:32:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=nJxoenMw; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694205143; bh=zfUcStnBuTiOToarclBayeXTMhn2bb0nDU+UJU/Ee1M=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=nJxoenMwTiVhVOHzg1H8L1PlG6N+hiG/8vBPin+2FsXiHxLIg1xxdIeBHb8RtJHvFdB+G27l9n9B1rEpRRqVgQJ5edvgpGzq2EtqrfbTojaqXrs2isH7HnwgCaJ5n2v0KNeQo18ao/og3eoPrmwBHKr9BzjSl8GVhxGvt7cJf8ZA1Vimc4S5FCeqmdegCo5yVrkDY/zQe6ns1weG13OMFaP/iAzZZZTcnQZcE/WkjYJFasIQprhKHWOgFa1RNgDkjB7004+rLUsWZXp98wOPuUPX9UvoPVj/m10TIuiFCyRmFN0suCpUWufINRL2gzBR9k4aRexB1JFgRqMDaegWsw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694205143; bh=44jpKsEdxoRle35wrhgFwjBTY+iSJajDr8djy431PgR=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=RH6ciZhcQrzYfFWWrSmXb3CR+UPHx/yIqbmZ6F2ez1waz8IByPJTV9NJYs8xa30cC+KvnRGJeJd0VjYdet5vPQsj+gOXASmH9gpADi7E+f48VdfX8QIyT0/yXip1bNehc9OE1+PYr2/XdU5QZoM8hvmXeeCUVnNH14FrFrXCeOTBYlJKSIkGFePXNXSE6xxlOj87r0CGhRknMi1bWPTBon9zvckg40DRwZKnLDpq3yQgx7fg60qIXjRLqLLezgteDp4F0E0isAemr84R4cbAhbXsMdrRp7XAuGjNRI7atD6fw12+CWk04SDaNT72yV+vXjdYpGSmhwcE+Gm7+vAR9Q== X-YMail-OSG: aaO2_PIVM1l26FJeJ4Mtdn8S.wtxp9JYplZoXslTRuvRR8kpmcC5aX0gL2rZ89c 9h0YmR4rswzDYxX1T2UqfWsYHxA5tvt6Q.STS6WfCVs1t9kIXy5qXwmZ8VyLuma6RbDqyA4GfuVC B6z6JNqskwBmDAe1Ycz8VnX12EGqEJp1B_sb1O36mUeIvje2Wiqd9aMHMkMDZUAehpVf.9OV7Dm1 FSB9Xz6etsTm8j06gdcUhaV3MO0b7IlNDKckNtQJsL05s9MM6ieFpLB0butxZxsLhah2D0PGXd0V zsMQd35igEni33MGDewPJ32YyLoTJVcsKhLlVUH9PQhYEgq5fJXcruNTCOOYcXs7mG0f4.d8Mnd. qSa8xlucZxIZJtVdF6S8ZCqUjWk_u0ECCgFnaoEUafJ6AbLKiBuUTEUx0P87A0oj26.xCcH0_npg BogwSfxqFI9nFRhqfJ_jWr7ji.UR5D7rB8HZOk.c5007zY2c3.ZfuPRQNm33qfX9QkGun723av1Y caMM_QDJ.U9aCb0OuDoHmkqWtD0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BBmCHRB8PO3uhGm7_CZz59CHcGP_8WAP9FzzpH Wmb3BxlSyKIoc1lzuygybsfQQCQSE3RWylfgXgrsAGLuHkHz3Va_qZd8iksPoFL41btpzTjjj4ze WDG1pZ2hXc1I8jiGz_uJWiyQNEW9ZLbM8cfVR09TdW11GK2urYSXscEQ7twiBTRdGnQ4i8QRhohw jgWy8uQkd6zZaH0jr1pNq8LfTmtjJpChvyIURWXSgEOUJrpm03_ATycVMj6eCS4M8Wnrsee2DO4_ j5P5v.txhQgpv1SELLbM3oWlAu4YAQ0D3iC1t3.SOJwilwIWnhLFIqUpSeIe7.y.o95hE6sFB9nW I64RnB6AOJ_dHq4n7AEknPt.mtLaS6jiQqtB0qqGoF3uQ_H.3UhBGVYrRoYLSyjwKNgWdauKV52M WcuSbxKxurwXEYPz4Dee0PU3Tt9nfKvQ3RIKluJGReP0UPOR8k4CoDnOK4eFDZPp_AXU6fVKHf1W 5xaO6J0RTdWUaXNgMFpa_QIqB61X5QpMMhDl_BWmWQZ93h58W5zYduZKmvlRoen8arHmh0VOU3U8 kV13q17TijdUy7poZYMEelmKj.f6EPLqK62318bM4GWQbL0bUVWr9r_UXCVBCX2ZdolIth3YiR4J WJ4uCEyAyQp85DAhmpwnvT2n6YllIC5JjFU78WO.NhG9h5hehQG7pIqBvgEHBVbQ24O6jgWOY75C n X-Sonic-MF: X-Sonic-ID: bb0a7c37-5258-4511-9340-907e4aa1a332 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Fri, 8 Sep 2023 20:32:23 +0000 Received: by hermes--production-bf1-865889d799-g7m4g (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5e993396eac1057d5a95ce782f600bee; Fri, 08 Sep 2023 20:32:19 +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 16.0 \(3731.700.6\)) Subject: Re: High swap use building Kyuafile on Pi3 From: Mark Millard In-Reply-To: <5DD3836C-E6F1-4EB5-8F11-3C342A5915DF@yahoo.com> Date: Fri, 8 Sep 2023 13:32:06 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <5DD3836C-E6F1-4EB5-8F11-3C342A5915DF@yahoo.com> To: bob prohaska X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.206:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.206:from]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Rj78B3Lk9z4cGj On Sep 8, 2023, at 10:58, Mark Millard wrote: > On Sep 8, 2023, at 09:14, bob prohaska wrote: >=20 >> While building a -current world on Pi3 using -DWITH_META_MODE it = appears that >> swap use is quite heavy (~2GB) well after clang finishes compiling.=20= >>=20 >> The tail of the build log shows=20 >> Building = /usr/obj/usr/src/arm64.aarch64/lib/googletest/tests/gmock_main/Kyuafile >> as the last entry, suggesting something in tests is the cause. >>=20 >> The machine reports >> FreeBSD pelorus.zefox.org 15.0-CURRENT FreeBSD 15.0-CURRENT aarch64 = 1500000 #49 main-n265134-4a9cd9fc22d7: Mon Sep 4 10:08:30 PDT 2023 = bob@pelorus.zefox.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 >>=20 >> The build command is >> make -j3 -DWITH_META_MODE buildworld > buildworld.log >=20 > So up to 3 builders can be active at the same time. > You seem to have described only 1 builder's activity. >=20 > Was it the only active builder? If other builders were > active at the time you also need to check on what they > were doing. The ~2GB is the total across all activity, > including the (up to) 3 builders. >=20 > A command that would show the active builders would be: >=20 > # poudriere status -b >=20 > where: >=20 > -b Show details about what each builder for the matched = builds > are doing. >=20 >> This behavior seems new, in the last few weeks.=20 >> Is it to be expected?=20 >>=20 >=20 > I suggest reporting the "poudriere status -b" output > from a time frame with the ~2GB of swap space active. >=20 > Until then, there is insufficient information to have > a yes/no answer. >=20 I forgot to mention about when a builder's temporary disk space is cleaned out. It is not when the builder finishes. It is, instead, when the builder starts to be put to use for its next build --or when poudriere is doing it all-done overall clean out. This has the consequence that if there are no more uses of the builder that are going to happen but other builders are still running, the clean up does not happen until poudriere does its final, overall cleanup. If such a builder with no more to build used large amounts of storage space for its last build, the space stays in use until the overall build is done. =3D=3D=3D Mark Millard marklmi at yahoo.com