Mail Archives: djgpp/1997/11/05/20:01:23
Mirek Prywata wrote:
>
> hi,
> I've got DJGPP on a Novell Netware. The problem is in speed. After
> reading djfpp.faq I tried a few things, but I'd like to know if there is
> anything more I can do to make it run faster.
>
> I made 4MB RAMDISK and TMPDIR is pointing there. I add LIBRARY_PATH
> pointing RAMDISK and copied there the most frequently used libraries
> (libc, libm, libgrx20, libbcc2). I traced djgpp with -v option and it
> appeared that cc1.exe is very slow (actually reading cc1.exe from the
> network drive - it's 1MB with each compiled file). I tried to copy
> cc1.exe to RAMDISK but gcc uses still g:\djgpp\bin\cc1.exe instead of
> this from ram drive.
>
> My question is: does anyone of you have some further suggestions? Can I
> do anything more to speed up? Unfortuanately there are usually about
> 10-20 people compiling their programs simultanouesly, so the network is
> really slow.
The only idea coming to my mind is replacing cc1.exe by a link
to the version on your ramdisk, or, more elaborate, a tiny program
that checks if an cc1.exe exists on a RAMDRIVE, and execs that,
otherwise execs cc1org.exe in your djgpp directory. I'm not sure
if this really works, but ypu might try.
On the NW side you might try
- increase the number of PB Buffers
- increase the number of PBurts Read Window
although I didn't notice an overwhelming effect.
--
Ciao
Tom
*************************************************************
* Thomas Demmer *
* Lehrstuhl fuer Stroemungsmechanik *
* Ruhr-Uni-Bochum *
* Universitaetsstr. 150 *
* D-44780 Bochum *
* Tel: +49 234 700 6434 *
* Fax: +49 234 709 4162 *
* http://www.lstm.ruhr-uni-bochum.de/~demmer *
*************************************************************
- Raw text -