Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Leverage Dual CPU's with GNU Make' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Leverage Dual CPU's with GNU Make
Authored by: Anonymous on Aug 19, '10 09:30:11AM

Or use "-j -l 10" to allow the number of threads to run away into the hundreds, but be capped by system load, in this instance, 10.

The more cores you have, the higher system load can go for a make. I find about 4 whole units of system load per core is a good match between performance and speed.

Lowering that core multiplier to 2 or even just 1 will mean fewer threads created, so less system load.

Similarly, increasing it will get to the point of reduced system responsiveness.

You could couple this with "nice" too. I don't have a need for that.

Making this a user-level alias is, as others have explained above, generally a bad idea. While "make" with compilation targets is often just fine, the "make install" stage will often break.



[ Reply to This | # ]