Re: Cross-compile worked, cross-install not so much ...

From: Patrick M. Hausen <pmh_at_hausen.com>
Date: Sun, 01 May 2022 15:29:27 UTC
Hi all,

> Am 26.04.2022 um 17:47 schrieb bob prohaska <fbsd@www.zefox.net>:
> If the result is unsatisfactory, self-hosting isn't impossible. I've been
> doing it for a few years now, albeit with much help from the list. On a
> Pi3 running aarch64 memory and swap are a constraint. I'd suggest 4 GB
> of swap and -j2 or -j3, perhaps increasing to -j4 as you see how things
> go. If you can split the swap across devices it helps some. Useful 
> /boot/loader.conf tweaks include
> 
> vm.pageout_oom_seq="4096"
> vm.pfault_oom_attempts="120"
> vm.pfault_oom_wait="20" 
> 
> Mark Millard made me aware of these parameters over the list.

without any additional tuning but with an SSD connected via USB
and 4GB swap on that I was able to compile with -j4 and a mostly CPU
bound system.

--------------------------------------------------------------
>>> World build completed on Thu Apr 28 10:30:53 CEST 2022
>>> World built in 155832 seconds, ncpu: 4, make -j4
--------------------------------------------------------------
--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Thu Apr 28 13:11:37 CEST 2022
>>> Kernel(s)  GENERIC built in 9643 seconds, ncpu: 4, make -j4
--------------------------------------------------------------

Thanks everyone for your valuable hints. Guess I will subscribe to
-arm, since there are some more rough edges compared to "just put a
Debian or Ubuntu image on it".

And then I wonder what workload I can put on a seven-node FreeBSD
cluster, since it won't be k8s, obviously. Let's start with Ceph, I guess.

Kind regards
Patrick