开发者

What's best value for make -j

开发者 https://www.devze.com 2023-01-03 00:07 出处:网络
What开发者_开发问答\'s the best value of -j switch? I usually set this up to the number of CPU/Cores available.

What开发者_开发问答's the best value of -j switch?

I usually set this up to the number of CPU/Cores available.

Thanks.


I've always seen the number of cores available plus 1 as the recommended value


Just measure.

Start with the number of cores. And then add one until you feel that you get diminishing returns.

0

精彩评论

暂无评论...
验证码 换一张
取 消