This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: reduce compilation times?
- From: "J.C. Pizarro" <jcpiza at gmail dot com>
- To: Galloth <lordgalloth at gmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Tue, 27 Nov 2007 17:27:39 +0100
- Subject: Re: reduce compilation times?
- References: <998d0e4a0711270748x224a16d5ye84fc0eae5ac90d5@mail.gmail.com> <5abcb5650711270804o171e1facr565beec70314af75@mail.gmail.com>
2007/11/27, Galloth <lordgalloth@gmail.com> wrote:
> > * to put more machines with more cores per chip (quadcore?),
> > bigger caches (8 MiB L2?) and higher frequencies
> Does it means that gcc can use several cores for one compilation (If
> yes, how to activate this, please) or this is the same idea as using
> make -j (several compilations at once)
It's the same problem of "Nine Woman Can't Have a Baby in One Month"
"Nine Cores Can't Reduce a Compilation of 9 Seconds to One Second"
I believe that it's possible to reduce it but it's very hardful.
[ using 9 hardthreads
(in hw, with complex combination of traps, paging and cores)
instead of 9 softthreads in one process or of 9 processes ]
J.C.Pizarro