I agree with all of Marc's points, and I'd also like to add that when using multiple jobs, Python sometimes crashes ( http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&viewType=browseAll&dsMessageId=954632#messagefocus ), but I've never observed this with only a single job. So -j1 appears to be not only more consistent, but safer.
----------------------------------------------------------------------- Kyle Strand, Software Intern Beckman Coulter, Inc., Life Sciences Division 4862 Innovation Drive, Fort Collins, Colorado, 80525 (970) 204-7036 [email protected] wrote on 07/30/2012 08:25:30 AM: > Marc Branchaud <[email protected]> > Sent by: [email protected] > > 07/30/2012 08:25 AM > > Please respond to > SCons users mailing list <[email protected]> > > To > > SCons users mailing list <[email protected]> > > cc > > SCons developer list <[email protected]> > > Subject > > Re: [Scons-users] [Scons-dev] Default number of jobs > > Please don't change the default number of jobs. > > For one thing, not all builds benefit from parallelism. Ours currently > doesn't -- the disk cache gets overwhelmed, even with just a small -j > value on a 16-core 32GB machine. What's more, the optimal level of > parallelism (best number of jobs/core) differs from project to project. > Finding the sweet spot is generally a matter of trial, tuning, and error. > > More importantly, it can be quite difficult to diagnose problems in > parallelized builds, especially since output from simultaneous commands > is jumbled together. Parallel failures of simultaneous commands are > especially confusing. > > When developing a build, it's best if your tools don't assume they can > do surprising things. Parallelism is one such surprising thing. Using > an explicit flag to turn it on is a good way for the user to tell the > tool that she's ready for some possible weirdness. > > M. > _______________________________________________ > Scons-users mailing list > [email protected] > http://four.pairlist.net/mailman/listinfo/scons-users The server made the following annotations --------------------------------------------------------------------------------- This message contains information that may be privileged or confidential and is the property of Beckman Coulter, Inc. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ---------------------------------------------------------------------------------
_______________________________________________ Scons-dev mailing list [email protected] http://two.pairlist.net/mailman/listinfo/scons-dev
