Larger Compilations / Speed
Andrew Pinski
pinskia@physics.uc.edu
Wed Aug 13 15:02:00 GMT 2003
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
> --------------------------------------------------------------------
>
>
>
>
More information about the Gcc
mailing list