[uClinux-dev] parallel compiles

Mike Frysinger vapier at gentoo.org
Thu Feb 7 11:28:54 EST 2008


On Thursday 07 February 2008, David McCullough wrote:
> > On Wednesday 06 February 2008, David McCullough wrote:
> > > > is there a reason for forcing -j1 in sub-packages ?  we've dropped
> > > > the -j1 in {lib,user}/Makefile for the DIRS target and generally had
> > > > great success.  you can really feel the difference on an 8 or 16 proc
> > > > system. i also replaced the -j1 for the _only targets with
> > > > -j$(HOST_NCPU).
> > >
> > > Interesting result,  do you have an measured build times with and
> > > without the change ?  It would be nice to know,  and if the gains
> > > justify the fixing of any potentially broken sub dirs :-)
> >
> > just doing a simple `time make AnalogDevices/BF537-STAMP_default` here
> > ... - with NON_SMP_BUILD set: ~8min
> >  - without NON_SMP_BUILD set (and the -j1 pieces removed): ~1.5min
> > pretty consistent here ... +/-10seconds
>
> I was hoping for the "with -j1" and "without -j1" numbers,
> comparing against NON_SMP_BUILD=1 is not really fair ;-)

how is it not fair ?  the NON_SMP_BUILD var forces -j1 ... i didnt feel like 
locally modifying the Makefiles to get the same result
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20080207/ad107e3d/attachment.pgp


More information about the uClinux-dev mailing list