From nobody Wed Jul 21 11:59:42 2021 X-Original-To: freebsd-arm@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 5BB34127B029 for ; Wed, 21 Jul 2021 11:59:44 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GVDf74BdYz3pFK for ; Wed, 21 Jul 2021 11:59:43 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.16.1/8.16.1) with ESMTPS id 16LBxgSD057224 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 21 Jul 2021 13:59:42 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.16.1/8.16.1/Submit) id 16LBxg8v057223 for freebsd-arm@freebsd.org; Wed, 21 Jul 2021 13:59:42 +0200 (CEST) (envelope-from fuz) Date: Wed, 21 Jul 2021 13:59:42 +0200 From: Robert Clausecker To: freebsd-arm@freebsd.org Subject: Re: Hardware for poudriere Message-ID: References: List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4GVDf74BdYz3pFK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fuz@fuz.su designates 2001:41d0:8:e508::1 as permitted sender) smtp.mailfrom=fuz@fuz.su X-Spamd-Result: default: False [-3.18 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:8:e508::1:from]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:41d0:8:e508::1:from:127.0.2.255]; DMARC_NA(0.00)[fuz.su]; NEURAL_HAM_LONG(-1.00)[-0.995]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.88)[-0.883]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-ThisMailContainsUnwantedMimeParts: N 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 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