Barcode Knowledge and More

May 11, 2010

bjam parallel build

Filed under: Uncategorized — Tags: , — Sherwood Hu @ 11:28 am

On a high profile computer with plenty of RAM, you can use -j option to run several shell commands at the same time. For example

bjam -j4 release

will run four shell commands simultaneously. CPU usage can easily hit 100% but the overall time can be greatly reduced.

On my computer (3G RAM), -j 6 cut the overall compile time to half on a large project.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress