Re: RPi 4 build time

From: tech-lists <tech-lists_at_zyxst.net>
Date: Sat, 22 May 2021 16:01:10 UTC
On Fri, May 21, 2021 at 03:51:35PM -0700, Mark Millard via freebsd-arm wrote:

>So, if I read this right, you are reporting 4.5 hrs
>for a "hot ccache" result, which I had mentioned as
>one of the things leading to large variations in
>reported build times.

Hi,

not sure what you mean by "hot cache" - I always use devel/ccache-static
as have tended to build from source throughout my time of using freebsd.
It provides tremendous speedups and generally i'll disable it only if a
problem arises and am debugging it, or crossing a version boundary like
from stable to current. What I'm saying is I don't know when ccache was
last used for building anything.

1. rpi4 here is clocked to 2.0GHz
2. ccache is in use and /var/cache/ccache has *not* been previously cleared
(i'll clear it for next test)

3. make cleanworld cleandir clean has been run on /usr/src
4. sources are at 246839

5. this rpi4 has the following properties for its disk:
[i] root-on-zfs
[ii] boot-to-usb3
[iii] 4k sectorsize forced
[iv] encrypted swapspace
[v] entire filesystem encryption

/etc/src.conf is
https://cloud.zyxst.net/~john/FreeBSD/rpi4-main/src.conf

make -j10 cleanworld started on Sat May 22 15:41:58 BST 2021
make -j10 cleanworld completed on Sat May 22 15:43:23 BST 2021

make -j10 cleandir started on Sat May 22 15:43:23 BST 2021
make -j10 cleandir completed on Sat May 22 15:43:50 BST 2021

make -j10 clean started on Sat May 22 15:43:50 BST 2021
make -j10 clean completed on Sat May 22 15:44:11 BST 2021

make -j6 buildworld started on Sat May 22 15:44:11 BST 2021
make -j6 buildworld completed on Sat May 22 16:20:48 BST 2021

make -j6 buildkernel started on Sat May 22 16:20:48 BST 2021
make -j6 buildkernel completed on Sat May 22 16:49:18 BST 2021
-- 
J.