Thursday, September 16, 2010

How to speed up compile with "make" in Linux

There is an option which is

make -jx

x=the number of concurrent  jobs

For a Dual Core 2 2.0 GHZ CPU, make -j5 will be a feasible choice.

CAUTION: it will cost much more CPU usage while the number increases,  please be careful to use this in any live environment.

No comments:

Post a Comment