On Thu, 2007-03-29 at 21:06 +0800, Peter Memishian wrote:
> Indeed -- and I suspect there are other cases of low-hanging fruit.  (In
> the case of lint, it was literally a matter of resizing a hash table.)  So
> before we get too obsessed with .PARALLEL and other ways to spread out the
> cycles needed by the build, we need to dig into whether those cycles need
> to be spent in the first place.

Indeed.  

Another factor is the amount of work done by make itself.  One instance
I noticed: If you "truss" an incremental "dmake" of genunix, you will
see an incredible flurry of "stat" calls for source files which don't
exist and will never exist; this is a an artifact of the extensive use
of wildcards in uts/common/Makefile.rules -- there's one wildcard build
rule for each source directory.  This means that kernel module makefiles
take time proportional to the square of the total number of source files
to process.

                                                - Bill


_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to