This is the mail archive of the gcc@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: Larger Compilations / Speed


The OS should cache the files for execution (on Darwin it does)
so it looks more like an OS problem rather than a gcc problem.
Yes a compile server will help but still an OS problem exists
and can hurt other programs.

Thanks,
Andrew Pinski


On Wednesday, Aug 13, 2003, at 10:09 US/Eastern, Theodore Papadopoulo wrote:



Wouldn't it
be conceivable to have gcc being load into to background and waked up
again and again for new compilations ? For collections of small source

files,
this would prbably result in a remendous speed-up.

Even without the compile server and certainly with smaller benefits, have you tried to lock up gcc executables into memory (using chmod -t on all executables and librairies).

IIRC this keeps the text of the executables and librairies into
memory and allows from faster starting up of frequently used programs.
This was deemed to be used eg for the dynamic system libraries.

That being said, I never tried it...

--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
 --------------------------------------------------------------------






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