Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2022 17:29:27 +0200
From:      "Patrick M. Hausen" <pmh@hausen.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Cross-compile worked, cross-install not so much ...
Message-ID:  <01953B28-24C2-4E05-8ABC-D7C6F82DCFC2@hausen.com>
In-Reply-To: <20220426154710.GA28444@www.zefox.net>
References:  <3D48BE93-7D42-4AB2-82D4-88BBF4E1FD40@hausen.com> <20220425191823.GA89506@spindle.one-eyed-alien.net> <7FA0C88D-4446-47DD-BBC0-3300B26D6A27@hausen.com> <CANCZdfp2_ZxdUPbcW%2BtLxiuGvEnp65o8te%2BkfTU2-4o7HgZOnA@mail.gmail.com> <68DCDD88-F7EB-4904-AAD6-D15ED3FF4259@hausen.com> <20220426154710.GA28444@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01953B28-24C2-4E05-8ABC-D7C6F82DCFC2>