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"
-- Rich
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org