Re: Restraining poudriere

From: Michael Gmelin <freebsd_at_grem.de>
Date: Sat, 12 Jun 2021 18:16:28 UTC

> On 12. Jun 2021, at 20:08, bob prohaska <fbsd@www.zefox.net> wrote:
> 
> On 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.
>>> 
>> (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.
>> 
> 
> 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.
> 
> For now I'm going to let it run and see what happens, thus far 
> it's nibbling away on llvm10 with one core. Hopefully more cores
> will come into play as bootstrap progresses.
> 
> Thanks for writing!
> 

Disabling tmpfs was a good idea.

You could also limit poudriere to one builder, but add llvm to ALLOW_MAKE_JOBS_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
>