From nobody Sun May 1 15:29:27 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C0FDB199DEAB for ; Sun, 1 May 2022 16:00:41 +0000 (UTC) (envelope-from pmh@hausen.com) Received: from mail2.pluspunkthosting.de (mail2.pluspunkthosting.de [217.29.33.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KrrY43VLLz4dLD for ; Sun, 1 May 2022 16:00:40 +0000 (UTC) (envelope-from pmh@hausen.com) Received: from smtpclient.apple (87.138.185.145) by mail2.pluspunkthosting.de (Axigen) with (ECDHE-RSA-AES256-GCM-SHA384 encrypted) ESMTPSA id 2696B4; Sun, 1 May 2022 17:29:28 +0200 Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: Cross-compile worked, cross-install not so much ... From: "Patrick M. Hausen" In-Reply-To: <20220426154710.GA28444@www.zefox.net> Date: Sun, 1 May 2022 17:29:27 +0200 Content-Transfer-Encoding: 7bit Message-Id: <01953B28-24C2-4E05-8ABC-D7C6F82DCFC2@hausen.com> References: <3D48BE93-7D42-4AB2-82D4-88BBF4E1FD40@hausen.com> <20220425191823.GA89506@spindle.one-eyed-alien.net> <7FA0C88D-4446-47DD-BBC0-3300B26D6A27@hausen.com> <68DCDD88-F7EB-4904-AAD6-D15ED3FF4259@hausen.com> <20220426154710.GA28444@www.zefox.net> To: freebsd-current@freebsd.org X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Rspamd-Queue-Id: 4KrrY43VLLz4dLD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of pmh@hausen.com has no SPF policy when checking 217.29.33.228) smtp.mailfrom=pmh@hausen.com X-Spamd-Result: default: False [-0.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[hausen.com]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; NEURAL_HAM_SHORT(-0.31)[-0.311]; MLMMJ_DEST(0.00)[freebsd-current]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi all, > Am 26.04.2022 um 17:47 schrieb bob prohaska : > 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