Visual chart of buildworld time usage by stages and steps
Re-building FreeBSD from source takes a lot of CPU resources. Depending on your machine it takes between 20min and several hours.
This is a visualiation of the time the build stages and steps needs.
For more details, please read the FreeBSD Quarterly Status Reports 2021/q3:
current-compilation-time-analyze
FreeBSD-14-current make buildworld chart by stages
- AMD EPYC 2.5GHz, 3 CPUs/cores, make -j3
- AMD EPYC 2.5GHz, 3 CPUs/cores, make -j1
- AMD EPYC 2.5GHz, 3 CPUs/cores, make -j3, WITHOUT_TOOLCHAIN=yes
- Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 32 CPUs/16 cores, make -j32
- Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 32 CPUs/16 cores, make -j16, WITHOUT_TOOLCHAIN=yes
FreeBSD-14-current make buildworld chart by steps
- AMD EPYC 2.5GHz, 3 CPUs/cores, make -j3
- AMD EPYC 2.5GHz, 3 CPUs/cores, make -j1
- Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 16 CPUs/16 cores, make -j16
- Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 16 CPUs/16 cores, make -j16, WITHOUT_TOOLCHAIN=yes
Known Issues
- this is work in progress, stay tuned...
- some time values may overlap
- steps less than 4 seconds may be not included in the statistics, to avoid unreadability
- time for steps is recorded when a step is done, not when it started. This can be confusing for parallel builds
- the tests on AMD are running as root, and the tests on Intel are running as a normal user
- the AMD machine is a cheap cloud VM with a nvme disk, and the Intel machine is a jail with a multiple hard disks. both are using the ZFS filesystem
25-Oct-2021, by @wosch