What's best value for make -j

笑着哭i 提交于 2020-01-11 04:27:06

问题


What's the best value of -j switch?

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

Thanks.


回答1:


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




回答2:


Just measure.

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



来源:https://stackoverflow.com/questions/3025587/whats-best-value-for-make-j

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!