Re: Hardware for poudriere
- In reply to: Bernd Walter : "Hardware for poudriere"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Jul 2021 11:59:42 UTC
Hi Bernd, 4 GB is not much for Poudriere builds. There are two main factors in play: * how many ports you build in parallel * whether you set USE_TMPFS=yes Without TMPFS, I was able to build a lot of ports on my RPi4B+ with 8GB (same as the one you have), but it really takes a lot of time. With four jobs running at the same time and graciously raised timeouts (at least double, but better quadruple all timeouts or important ports like llvm and rust will never build), I have built about 1200 ports in 72 hours so far. That's a long way to having built all of them. On an x86 box (you can use QEMU to build ARM64 ports there), it's a lot easier. I use a Skylake-based server with 8 threads, 32 GB RAM and the same amount of swap to build the whole ports tree in about a week. USE_TMPFS=yes makes a critical difference here, but it also causes significantly higher memory usage for large ports like llvm, rust, or chromium. So make sure to keep enough swap around. Yours, Robert Clausecker Am Wed, Jul 21, 2021 at 01:39:43PM +0200 schrieb Bernd Walter: > I considered running a local poudriere for arm64. > I have no experience with poudriere so far, just know that compiling > ports nowadays is a matter of RAM and lots of patience. > However, most of my systems only have up to 2GB RAM. > The exceptions are 4G Rockpro64, of which I have 2 unused. > And a Pi4 with 8GB. > I personally prefer the RockPro64, because it is the better hardware. > But the Raspberry has more RAM. > Would 4GB be enough. > Can multiple host be even clustered for poudriere? > > -- > B.Walter <bernd@bwct.de> https://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > -- () ascii ribbon campaign - for an 8-bit clean world /\ - against html email - against proprietary attachments