On Tuesday, 14 April 2015 at 12:07:18 UTC, Russel Winder wrote:
On Tue, 2015-04-14 at 08:53 +0000, Atila Neves via
Digitalmars-d wrote:
[…]
The "-j" option should be there for tweaking only, by default
I expect a modern tool to just use as many threads as I have
cores. Which of course is exactly what Ninja does.
N-1 not N on a system you are using as a workstation. N on a
compiler
server, no problem.
Waf chooses N and it makes the workstation unusable whilst the
compilation is happening.
That's the typical distinction between batch and interactive
processes; today's schedulers shouldn't have trouble handling
this. If they do, there's still process priorities/nice values
to adjust.