linux - Spawning Multiple Jobs for building a kernel on Quad Core processor? -
if kernel's makefiles have correct dependency information,
to spawn mutliple jobs, should use this
$make -jn
n = number of jobs spawn
if use quad core machine i7 4700mq 8 gb ram, should ideal , maximum value of n ?
grep '^processor' /proc/cpuinfo | wc -l
it should give number of cpu's in system (as seen os). can use number. +1 number usualy won't hurt (it depends on project building, scheduler in use, etc.).
Comments
Post a Comment