by quark » Thu Dec 09, 2021 11:25 pm
A mention on the wiki entry:
$this->bbcode_second_pass_quote('', '
')Change the MAKEFLAGS -j flag to reflect the total number of processors available on the master system. The common wisdom is to set this to the number of physical cores + 1. Keep in mind that only compiles are distributed; preprocessing and linking still takes place on the master system. Therefore, this number should reflect the capabilities of the master system and not the total number of distributed cores available.
I've tried it both ways, with -j5 and -j32 (12+4 cores doubled) and there's a big difference. With -j5 it would barely send info out, low network activity, CPU cores not maxed out but some activity.
With -j32 the CPU is constantly maxed out on all 4 cores, and higher network activity, I'd say around twice as high if not more.
As I see it going for the info (regarding this particular detail) in the main Arch wiki will result in faster compile speeds.