Mail Archives: djgpp/2003/08/03/19:00:26
Klayhamn <psycho AT isdn DOT net DOT il> wrote:
> I did as 3.9 instructed, and 7.1 didn't really do any good
> it still takes me just as long even with write-back enabled, cpu caching
> (internal and external)
> and a 8MB ramdrive (and yes i set the tmpdir in djgpp.env to point to it)
That may not have taken the desired effect. You should probably check
where the temp files actually end up (--> the -v option to gcc/gpp)
there. 8 MB may actually be a bit small for C++ source code including
STL headers. With a properly configured write-back disk cache, a
ramdrive will not typically have much of an effect.
#include <iostream>
is nowhere near as innocent as it may appear. It expands to 750
kilobytes of preprocessed code, on this Linux box...
And even this 1000 MHz Athlon here takes 1.2 seconds of raw CPU time
to compile hello.cc, so your 5 seconds on a 166 MHz aren't all that
bad at all.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -