Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2021 20:16:28 +0200
From:      Michael Gmelin <freebsd@grem.de>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        Jose Quinteiro <freebsd@quinteiro.org>, ports@freebsd.org
Subject:   Re: Restraining poudriere
Message-ID:  <217E1971-5D4C-43ED-8B24-34FC8D757808@grem.de>
In-Reply-To: <20210612180728.GD71089@www.zefox.net>
References:  <20210612180728.GD71089@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-6C3DD1ED-12C7-4BDE-90B6-42D918CF75DB
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable



> On 12. Jun 2021, at 20:08, bob prohaska <fbsd@www.zefox.net> wrote:
>=20
> =EF=BB=BFOn Sat, Jun 12, 2021 at 10:45:13AM -0700, Jose Quinteiro wrote:
>>> On 6/12/21 10:29 AM, bob prohaska wrote:
>>> In playing with poudriere on raspberry pi 3 and 4 it seems to
>>> work well on the 8 GB Pi4 but is over-optimistic on the 1 GB Pi3.
>>>=20
>> (snip)
>> You might want to consider modifying your USE_TMPFS setting in
>> poudriere.conf if you are constrained by memory. The default is "yes"
>> which means use tmpfs(5) for the work dir and caching. I found I have to
>> set this to "data" (caches only) in order to make full use of all my
>> cores without running out of memory.
>>=20
>=20
> That might be part of my trouble. I thought I'd turned tmpfs off,
> and did in /etc/fstab but not in /usr/local/etc/poudriere.conf.
>=20
> For now I'm going to let it run and see what happens, thus far=20
> it's nibbling away on llvm10 with one core. Hopefully more cores
> will come into play as bootstrap progresses.
>=20
> Thanks for writing!
>=20

Disabling tmpfs was a good idea.

You could also limit poudriere to one builder, but add llvm to ALLOW_MAKE_JO=
BS_PACKAGES.

Back when I built package sets for the rPI3, I did so using crossbuilding on=
 amd64[0], but I assume this exercise is not primarily about saving time :)

Cheers,
Michael

[0] https://blog.grem.de/sysadmin/FreeBSD-On-rpi3-With-crochet-2018-10-27-18=
-00.html


> bob prohaska
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?217E1971-5D4C-43ED-8B24-34FC8D757808>