From nobody Fri May 21 20:58:36 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 F2D858C97DF for ; Fri, 21 May 2021 20:58:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (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 4FmzVK4y88z3q8c for ; Fri, 21 May 2021 20:58:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1621630728; bh=vZHeOt8/82xBTZW5NXt+kuuH2tMlj4ClpJX6JyQH9qw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=FaqgK80ahrl9RyOg89nVXYBpRdo1INHiev+QKVhioYUKCjnIToVnBolOMFXzb+yABA4MGiS0rYzsHPa21M51S/NIMt3eRC/Q3MVF0P5LihpDaUWdqzzUgd7FPsoC6BF43Is4tqILf47SIwTVM0vTM+6ExL/1i1Jz62z6PTqI+x/W+ZQwvmYMbIPVXWw1xT5YXhdb4aKpv/E1vSudTG2mPfxnsbti0jKZcMd/fiTy/GTSQW0fT5C7DpFlO60b0En27C2ZLlJv7tUNdps2elmsGvA5grqeWjYoo7rw3OczW/NJevA71gVe1uykKfDOF7Vlp/8bZMfYndd/Gg023GYpvA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1621630728; bh=QQ+4cxXEfWhPnMeMOF3ryQPbq6q3tuxHZpQnUu/85DZ=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=P/+k1Mq11Js9t6q3cMuJZn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ic02_t2cJVt7D8RELZAGmx1xQMg9Bz0XGW0omMKmVnRTolC56Oz2KwX. x.oTvttPmb_7H6hjLlxZqWVdjtD.zAceCMuNbuQW84i6GR3rbik0tItgAqQEybERFzQ4oJYFwry9 fOU5tWvcQBcm7LvlzseER07ZEJGZQgvQ0y.iJAkBpUVQXvb5nHmaNF.YESHY9rcCmoFzatQqX5J_ xQEUrcqVTVSa_gnvwPPb5_I2ZAC5Hla0k1l3L6cga2iUYpdGf3SbWegmmS1rEilnKhSGJt7VYzN3 IwOXPUIdGRS2KjSAkTSW1y0f8FNqI_luRJpFlaDgFRGk0vVWArltGa4WwU2peAwenxsZSuQIM7SI 8VC.mm6IvFZ4IDVZlf8PhYYtw5jNrlJe7_uozgG2T_Q0KXjsyuNWFuvYHVAjGcsEknJ1GwRe.zRV GEH6T6xM6MlUABwaoVzTpbuB6yqebf7CuKG60kATnY8s9paVkOaYZqUF657s48hzNkrOv9mO0z7q QwfiFEQKLZ8zqOWharBmSpoD0sgUyk9eMuWDKjE4UJKHC0plHR8dzSw8FbKBtDnFQi5sLPO4Y7yS 402G1xBffwowmgnUCn2vtM4PezpeLYdv20O5FUZRJtCegsYxTRH0EG9LTscDDtFsV0alAhlEjgU6 ZgHw7lv6wAvNbN28- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Fri, 21 May 2021 20:58:48 +0000 Received: by kubenode518.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 26263a749e938c58cc95aec45d385ee3; Fri, 21 May 2021 20:58:42 +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 13:58:36 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: evgeniy@khramtsov.org X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4FmzVK4y88z3q8c X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard On 2021-May-21, at 13:07, Evgeniy Khramtsov via freebsd-arm wrote: > 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. 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. 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). 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.) 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.) As for buildworld/buildkernel "from scratch", that I have done and recorded some figures: Context: 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. 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. 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. ENVIRONMENT: -mcpu=3Dcortex-a72 RPi4B @ 2000 MHz, hw.physmem:8464072704 = : ( arm_freq=3D2000, sdram_freq_min=3D3200, force_turbo=3D1 ) 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 So World+Kernel took somewhat under 6 hrs 45 min to build. # ~/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 I've gotten very similar time frames from builds that used a ZFS file system on a USB3 SSD of the same type instead. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)