This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Larger Compilations / Speed
- From: drfransch at netscape dot net (F. Schaefer)
- To: GCC at GNU dot org
- Date: Thu, 14 Aug 2003 02:06:47 -0400
- Subject: Re: Larger Compilations / Speed
Joe Buck <jbuck@synopsys.com> wrote:
>On Wed, Aug 13, 2003 at 10:14:12AM -0400, Andrew Pinski wrote:
>> 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.
>
>On Linux and every other modern Unix-like OS, the files are also cached
>in memory.
>
Well, I admit that it's been some years since I studied some UNIX internals. But, if I remember it right, the files are kept in a buffer-cache in RAM. Then when requested they are copied into the process data region. It is this copying, of course, that is a little slow. Not to speak about what is done to the cache by the copying of this large amount of data.
>
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455