From nobody Fri May 21 21:16:50 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 F0A746279F2 for ; Fri, 21 May 2021 21:17:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FmzvJ0DVrz4Smr for ; Fri, 21 May 2021 21:16:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1621631818; bh=A7ZgUi4ycwi25hj0zUGYcEX44nvTAeQgKsUrUvTK6Nw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Lk71JUdDuWk5mfqEcjmkRXsB3wySmphW9BquSKxQjMGbC1uA5nB7Tdk3/4M2fe/7+cTBD0kmzy/25pMP6+Os/YGS0DF4gpmhhtAzIX0ubxzLHynQ6metivCgw7HGRHRDFDj+X2tcmuulOMK205H8Ll7j0HK8iea8T4ZcanzedZjniDkK+MS+fnhCB78Anc+dyFsZyapfP4OuMjmu9fB2PtyH7s2gawOFe/1xbmb5yOEhmBV5ylB7UaOb6/ucZslm127p/n8SSTsm4RYTdPTUzul9dvhUPUN4+MjMizQ+/x1T0EQYRX1uxTt2IZ5WPUcZ/I3ZHLbE2SshD6r7BTTu9g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1621631818; bh=usEw1MrXZ7Av6znkkrNfK+hXmm6TjoK43xOgswvlV8Z=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=l7i4Q1Xb/mzd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70B3ft7ieTY1aNxN AWlecRmEOIPDJTtVQfz7VXM83Jp9Z_d5JimVKooofdvtQMrbokDZffvw2gB9x_Qcak9pdVFam5tK OaD4apqAbrf5T5VVRTzath5LWpAbvn5DEMLSUYc7q8A.xQx6zW8y6gCQ6tSl4FwiPl8S1RknELao 3lWqc0pVkzr509I35eSF9zklFUC3OfaNQGwFRE02StWZK0Sz0S4YSUbqzz6lbXbWiwcc2bPTiCqy UlFHnAgDZ0Im2Y4LJCEwe0fuXMrC1We8N9sABZ9kU9LMNpBWECJp6SK9yhj1ETRzK_YepN7gzpj1 J.yFiQ3WQ9EL_gPEEjrM2gcdVAg97Z8rzkADusziswxju5L1lVIiZb7D5Wtt985QVvbx5bY26i9x bY.3tmA9KfqBiP6CxfpefKBjU1MLjPZ5Kak5ymywr60a3y7FjU3BySkKgDlosU7vn8xRC4Z5G.GR 4HB1z5bQ6cwVkxV3w_qf9ZqnAwA02Mvq8SRNfADbUFd9jQm.fzIoEMLSVFPGwcqydCIL_f4QgY5M yAMeDUlVsziITPshzsObj0zUpGII0DRLqqqnQYHPgXInqVq26dIo1uYV.y6.92Bg9hhxfLavtfJK Nnzb9Om6kamWNiG0e9TdYH66czN6bCh3bdxuwJORJbkFMrFBb9xs0x4qgBYgWCs.wCN24zpuzFQX 8LjmwYqXLAck.7zKxY6H0s4WVNsoDp0YVRgwuHLi4oMC2FGYRv5qUCPTZVKKfVbkTAmDnGQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Fri, 21 May 2021 21:16:58 +0000 Received: by kubenode547.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b985bbaa9cc8dfecb26500052ed29546; Fri, 21 May 2021 21:16:53 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: http://lists.freebsd.org/arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: RPi 4 build time In-Reply-To: Date: Fri, 21 May 2021 14:16:50 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <65CF6930-03B1-4FF0-B05E-9731A6820582@yahoo.com> References: To: evgeniy@khramtsov.org X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4FmzvJ0DVrz4Smr X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Lk71JUdD; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.64.84:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.64.84:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard On 2021-May-21, at 13:58, Mark Millard wrote: > On 2021-May-21, at 13:07, Evgeniy Khramtsov via freebsd-arm = wrote: >=20 >> How long are compile times for aarch64 8 GB RPi? It is especially >> interesting to know about overclocked results. I guess buildworld = time >> would describe it well, but any heavy port (ex. rust) would also be = great. >=20 > To get useful figures may require specification of more context. > For example, building rust uses over 17 GiBytes of temporary file > space. This suggests that its build time may be very dependent on > the media in use. Also the configuration of building ports in > parallel and/or allowing a port builder to potentially have an > ready-to-run process for each of the 4 cores makes for large > differences. >=20 > Also, for buildworld, there is a large difference for when a > bootstrap set of clang/llvm materials is built vs. when that > extra clang/llvm material does not build (even if the normal > llvm material are built). >=20 > There are also issues like if ccache is in use and is providing > a signficant amount of hot-cache results. (I do not use ccache.) > The same sort of thing apply to META_MODE use and rebuilds: was > the build "from scratch" vs. just a partial rebuild? (I do use > META_MODE.) >=20 > I've not done lang/rust builds on a RPi4B. (And, for ports, I > normally allow multiple ports to build at once, each allowed > to have a ready-to-run process per core.) >=20 > As for buildworld/buildkernel "from scratch", that I have done > and recorded some figures: >=20 > Context: >=20 > make[1]: "/usr/fbsd/mm-src/Makefile.inc1" line 339: SYSTEM_COMPILER: = Determined that CC=3Dcc matches the source tree. Not bootstrapping a = cross-compiler. > make[1]: "/usr/fbsd/mm-src/Makefile.inc1" line 344: SYSTEM_LINKER: = Determined that LD=3Dld matches the source tree. Not bootstrapping a = cross-linker. >=20 > I use a USB3 SSD to hold the UFS file system, swap space, > and the msdos file system used in booting. No microsd card > use at all. The USB3 SSD seems to be fairly effective at > making the storage-I/O performant for the RPi4B context. >=20 > And oddity of my context is I have the code generation set > up to tune for cortex-a72 specifically. Both the system doing > the build and the built system were based on such tuning. >=20 > ENVIRONMENT: -mcpu=3Dcortex-a72 RPi4B @ 2000 MHz, = hw.physmem:8464072704 : > ( arm_freq=3D2000, sdram_freq_min=3D3200, force_turbo=3D1 ) >=20 > World build completed on Fri Mar 26 19:10:11 PDT 2021 > World built in 22491 seconds, ncpu: 4, make -j4 > Kernel build for GENERIC-NODBG completed on Fri Mar 26 19:38:33 PDT = 2021 > Kernel(s) GENERIC-NODBG built in 1702 seconds, ncpu: 4, make -j4 >=20 > So World+Kernel took somewhat under 6 hrs 45 min to build. >=20 > # ~/fbsd-based-on-what-freebsd-main.sh=20 > merge-base: 7381bbee29df959e88ec59866cf2878263e7f3b2 > merge-base: CommitDate: 2021-03-12 20:29:42 +0000 > def0058cc690 (HEAD -> mm-src) mm-src snapshot for mm's patched build = in git context. > 7381bbee29df (freebsd/main, freebsd/HEAD, pure-src, main) cam: Run all = XPT_ASYNC ccbs in a dedicated thread > FreeBSD RPi4B 14.0-CURRENT FreeBSD 14.0-CURRENT = mm-src-n245445-def0058cc690 GENERIC-NODBG arm64 aarch64 1400005 1400005 >=20 > I've gotten very similar time frames from builds that used > a ZFS file system on a USB3 SSD of the same type instead. I forgot to mention that for the buildworld/buildkernel both the running system and the built materials were non-debug builds, despite the build being of main [so: 14]. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)