On Tue, Mar 27, 2007 at 05:50:32AM -0400, Richard Lowe wrote:
> Ian Collins wrote:
> >Peter Memishian wrote:
> >
> >>>One aspect of ON builds that continues to bug me is the lack of support
> >>>for distributed builds.  I have often wondered, but never had the time
> >>>to investigate, whether the makefiles could be "flattened out" to enable
> >>>independent directories to be built in parallel rather than
> >>>sequentialy.
> >>I'm confused.  Right now, most of the directories under usr/src/lib and
> >>usr/src/cmd are built in parallel as per the .PARALLEL directives in
> >>usr/src/lib/Makefile and usr/src/cmd/Makefile.
> >>
> >> 
> >>
> >I just tried running nightly on a dual core AMD 64 box with the
> >.PARALLEL directives removed form
> >
> >usr/src/lib/Makefile and usr/src/cmd/Makefile.  On this system, the 
> >difference was small:
> >
> >With .PARALLEL:
> >
> >time nightly ./opensolaris.sh 
> >real    212m14.023s
> >user    325m5.196s
> >sys     56m58.105s
> >
> >Without:
> >
> >time nightly ./opensolaris.sh 
> >real    228m14.275s
> >user    325m5.731s
> >sys     56m55.456s
> >
> >The picture may be different on a bigger machine.
> 
> It will be largely the same, you're at least in part seeing the results of:
>   4631488 "lib/Makefile is too patient: .WAITs should be reduced"

Jonathan Adams had made some progress on that bug and left behind a
workspace which I pointed Sasha & Jonathan to last week - so I believe
they're looking into addressing that one as part of this build-time
projet.

cheers,
steve
-- 
stephen lau // [EMAIL PROTECTED] | 650.786.0845 | http://whacked.net
opensolaris // solaris kernel development
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to