[Scons-users] [Scons-dev] Default number of jobs

Russel Winder russel at winder.org.uk
Sun Jul 29 04:55:41 EDT 2012


On Sat, 2012-07-28 at 15:46 -0400, Gary Oberbrunner wrote:
[…]

> I wouldn't want to change the default, I agree. However I have heard

> requests before for a way to say "use as many cores as the machine

> has" and I can see how that would be nice for some situations.

> Perhaps -jN (literal N) could be made to do that? If multiprocessing

> isn't available (python too old), it could just use 1. But since it's

> quite easy to do in a SConstruct (or even in a site-scons, I think) it

> doesn't seem as important as a lot of the things we really do need to

> work on.

>

> (Note that some tools, like the Intel linker in -ipo mode, use your

> whole machine -- running multiple jobs will only slow things down,

> mostly because of swapping.)


Also this strategy of using all cores available by default (which is
what Waf does) is fine on a compile server and fundamentally not a good
thing to do on a workstation, at least if you want to keep the UI
responsive.

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20120729/edd8c773/attachment-0001.pgp>


More information about the Scons-users mailing list