From nobody Wed Jul 21 11:59:22 2021 X-Original-To: ports@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 E7555127AE9E for ; Wed, 21 Jul 2021 11:59:30 +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 4GVDdt0pWBz3p8D for ; Wed, 21 Jul 2021 11:59:29 +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 16LBxMBf057199 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 21 Jul 2021 13:59:22 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.16.1/8.16.1/Submit) id 16LBxMF1057198 for ports@freebsd.org; Wed, 21 Jul 2021 13:59:22 +0200 (CEST) (envelope-from fuz) Date: Wed, 21 Jul 2021 13:59:22 +0200 From: Robert Clausecker To: ports@freebsd.org Subject: Re: Hardware for poudriere Message-ID: References: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4GVDdt0pWBz3p8D 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]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:8:e508::1:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; 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]; 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)[ports] 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