[Scons-users] build time

William Deegan bill at baddogconsulting.com
Fri Jul 6 13:39:41 EDT 2012


Tom,

On Jul 6, 2012, at 12:43 AM, TOM TANNER (BLOOMBERG/ LONDON) wrote:


> You should have seen how long the build took before I made it non-recursive.

>

> As for size, we have about 25,000 source/header and 13,000 targets files. However all our work is done on NFS drives which does bad things to performance.

>

> I don't think it's the toposort skeleton hitting - I would have thought that would have made the performance worse than the original make system.

>

> I made my comment because I was looking at what scons was doing when it was doing nothing on a multi-cpu system and every thread except one was blocked on the global lock, so we're not making very good use of the available resource.


Do you have some custom builders which are implemented in python code in your SConstruct/SConscript?
-Bill



> ----- Original Message -----

> From: scons-users at scons.org

> To: scons-users at scons.org

> At: 7/05 02:08:23

>

> On 03 July 2012, TOM TANNER (BLOOMBERG/ LONDON) said:

>> I'm converting our build from a.n. other system, and one issue we

>> have is that a 'do nothing' build takes 20 minutes to work out it has

>> to do nothing.

>

> Wow. Just out of curiosity, how many source files do you have? How

> many build outputs?

>

> (I'm working on rewriting our build with scons, and I'm handling maybe

> 16,000 of our source files. It's up to 16 sec for a null build, and

> I'm getting pretty antsy about it. That's about 15 seconds longer than

> I would like.)

>

>> This is a *little* better on scons, but I notice that even if I give

>> it a lot of threads, it spends all its time hanging around for the

>> infamous global interpreter lock, even though we have a few spare

>> CPUs.

>

> Are you sure it's threading and not the toposort? My understanding is

> that one of the skeleton's in SCons' closet is that its toposort

> implementation is O(N^2), whereas a textbook toposort is O(N + E)

> (number of nodes plus number of edges in the dependency graph).

>

> Greg

> --

> Greg Ward http://www.gerg.ca/

> No animals were harmed in transmitting this message.

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users




More information about the Scons-users mailing list