From nobody Mon Apr 03 21:06:51 2023 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 4Pr3Nx2WDZz43KBj for ; Mon, 3 Apr 2023 21:06:57 +0000 (UTC) (envelope-from void@f-m.fm) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pr3Nw2ffFz3CWP for ; Mon, 3 Apr 2023 21:06:56 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b="g/ces0RT"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ckHTI0XY; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 64.147.123.19 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 14108320098E for ; Mon, 3 Apr 2023 17:06:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 03 Apr 2023 17:06:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1680556013; x=1680642413; bh=LX cKLS+II047P48UAnKS2MO3+yVK+Q6+eiPkNQ5ExO8=; b=g/ces0RTIyTXSlgiEV I8+A7xaDx6gbRSRLrove66zNb588AAhmvj89uYAItRA5yP2MM+LqZ5joWB2glMGe nUbB/dtZkQryQbcDiFPLzjfwgpE3704Q4zuwDWUsjRpZj22GUQlUof3FsrnID7zm YAm8XD2eUObbdYFZSjP8Wnw1X8pP4/QHVtScXmIK8+5e3jcq42UTbtSuH8ODzwfC u70UOZiG6IcI+5XZizddtBGvAy6Qzu2SjP5tqz0iTLcrHE9vvupmU7vy64xVADbv MLJPZ8FKIinc6PdbWdazZDUwi871KUuaEeRTVuQlQ1XSDs04GRLfmFdrpBprGnak mD8w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680556013; x=1680642413; bh=LXcKLS+II047P 48UAnKS2MO3+yVK+Q6+eiPkNQ5ExO8=; b=ckHTI0XYzpPoY3qKiSOz7Sfc68c/u mHQ/XWQ7C/tNbTW+srb4OpR8cKuMOqciAMba0jjRodUqn/9915SLLShD1vhfA7mZ U4pS5i1j2QPLTBhDlH+4+kxypmHgVaXIAZYp9HCNYBX9WMUzt0OWcJA/LJK4k95I a5KQK0wQuTF2X/hDedxGclCp9C5FBp4pZA4/Yjs85KynAtifnxaXBqC80UQve3TX Z6mWtdrzMuhnmpxpTqiWlaaSvPEAJwp/dMCjnVeJy0rlepBW9KOwihmqJ2+bHTbC S4Bnpd/HoTola5EbLuvzKiYfD1aQQb/pEi1RvwSVChjh3kg3AWlsI/+KQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeijedgudehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttd ertddttddvnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffr rghtthgvrhhnpeekleduvdelhfeileefgffghfffkedtheellefgudfgvdegkeejjedutd ehhefgueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehvohhiugesfhdqmhdrfhhm X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 3 Apr 2023 17:06:53 -0400 (EDT) Date: Mon, 3 Apr 2023 22:06:51 +0100 From: void To: freebsd-arm@freebsd.org Subject: Re: Expected native build times on an RPI4? Message-ID: Mail-Followup-To: freebsd-arm@freebsd.org 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; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-2.21 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.72)[-0.723]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.19]; NEURAL_SPAM_SHORT(0.11)[0.114]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.19:from]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4Pr3Nw2ffFz3CWP X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Mon, Apr 03, 2023 at 09:42:14PM +0100, Joseph Koshy wrote: >I'm wondering how best to provision for building -current: >how long does 'buildworld' take on this device usually, and >how much disk space does a build of -current usually need? It depends. My build times are way less than yours. Not measured recently, but it's no more than 6 hrs IIRC. But to do that, several adjustments need to be made: 1. unless you need it, you'll need to turn off debugging, which is by default *on* in -current. [a] 2. get good cooling and clock the cpu. Mine is clocked to 2.1GHz. 3. use ccache 4. build WITH_META_MODE=YES 5. use either a hard disk or ssd connected via usb3. Don't build on a usb3 key and expect it to be quick. 6. in your /etc/src.conf, disable the stuff you don't need so that it doesn't waste time getting built. Set MALLOC_PRODUCTION= [a] this means compiling GENERIC-NODEBUG The full reduction in buildtime would be seen after a buildworld cycle in the new environment. /usr/obj on my -current rpi4 system is 3.2GB. It will be probably twice that size if building with debugging. good luck, --