On Mon, Oct 29, 2018 at 08:11:03AM +0200, Jyri Hovila [Turvamies.fi] wrote: > Hi, > > just for the record, and to inform others who may still be at loss regarding > this matter: when compiling stuff (particularly Big Stuff, such as the > userland) on an OpenBSD machine with several CPU cores, it's important to > pass the '-j <number of CPU cores>' argument to the make command, in order to > benefit from the (much) reduced compiling time. > > It would probably make sense to add a tip to the Building the system from > source FAQ and/or the release man page. > > I feel so, so newbie... =P
This assumes everything is parallel-make safe. It didn't use to be, and I'm pretty sure make release is still not parallel safe on all architectures... The number of jobs in make is NOT that straightforward either. You'll have to measure to figure out the best number. On high numbers of cores, going THAT high with -j is generally counter-productive...