What's best value for make -j

前端 未结 2 1084
无人及你
无人及你 2021-01-07 23:03

What\'s the best value of -j switch?

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

Thanks.

相关标签:
2条回答
  • 2021-01-07 23:32

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

    0 讨论(0)
  • 2021-01-07 23:37

    Just measure.

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

    0 讨论(0)
提交回复
热议问题