NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/26072 (Request: an option to build.sh, to build kernels without running "config" and "make depend")
On 23-05-19 20:31, Luke Mewburn wrote:
| I did some testing on a modern system (AMD Ryzen 9 5950X 16-Core),
| comparing using build.sh (with the config and make depend passes)
| versus just building the kernel, both without any file changes
| as well as touching a single source file:
|
| time ./build.sh -j32 kernel=GENERIC
| 4.31s
|
| time nbmake-amd64 -C $SOMEDIR/sys/arch/amd64/compile/GENERIC
| 1.18s
Oops, I forgot to use -j 32 in the nbmake-amd64 cases.
I didn't mean that, because I wanted a fair comparison.
Didn't matter; takes the same time.
| touch ./sys/dev/usb/xhci.c
| time ./build.sh -j32 kernel=GENERIC
| 15.51s
|
| touch ./sys/dev/usb/xhci.c
| time nbmake-amd64 -C $SOMEDIR/sys/arch/amd64/compile/GENERIC
| 12.33s
With -j 32, nbmake isn't any quicker here either, recompiling a single file.
regards,
Luke.
Home |
Main Index |
Thread Index |
Old Index