This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Improving parallel build (was: [C++/Obj-C++ PATCH] Fix Objective-C++ breakage)


On Sun, Mar 30, 2008 at 4:37 PM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
> [ trimming Cc: list ]
>
>  Hello Richard,
>
[...]
>  $ make clean; \time make -j8
>  882.91user 24.80system 2:19.52elapsed 650%CPU (0avgtext+0avgdata 0maxresident)k
>  0inputs+0outputs (0major+6283548minor)pagefaults 0swaps
>
>  Note that it's really the order-only prerequisite that makes the job
>  number matter: without the patch below, -j8 is as fast as -j20.
>
>  I do not know if this patch could also trigger the make bug that
>  prevented automatic dependency tracking, but I haven't been able
>  to get make to hang with some casual testing.

Heh, that's a pretty big savings for a small patch :)

Thanks,
Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]