edgar 的窝

Happy coding

make -j(n)的用法

Timing the Linux -j(cpu+1) Myth

Quite a few times I've been told to use the make -j(cpu+1) flag when building on Linux. Once I got my smp box up and running I ran a series of tests to see if this was correct. I guess the theory is you should make sure the processor has something to do by telling it to start one more job than the number of processors available.

继续阅读