5

MAKEFLAGS -J value

view full story
linux-howto

https://bbs.archlinux.org – skiwi wrote:Just use -jn with n the number of real cores you have. Note also the difference between "threads" and "cores". Threads are different items in /proc/cpuinfo, for the number of cores look at the number of different 'core id's in /proc/cpuinfo. Typically each cpu (=core) has a number of threads (typically 2 or 4), which are virtual cpus used to balance the workload. That means you can still do things, like use a browser, while compiling. At the same time a thread can use an entire cpu if no other thread is asking for it so you will not lose any performanc (HowTos)