www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/04/21:19:35

Date: Tue, 4 Nov 1997 18:18:22 -0800 (PST)
Message-Id: <199711050218.SAA14986@adit.ap.net>
Mime-Version: 1.0
To: Mirek Prywata <mpry AT fuw DOT edu DOT pl>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: DJGPP +Novell:can I do anything more?

At 11:28  11/4/1997 +0100, 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.
First, try installing a disk cache so that the entire executable might not
have to be loaded over the network each time.

If you have a local disk you should try installing all of DJGPP, or at least
what you need, there. If not, you can install the slowest parts on your
ramdisk. Here's a suggestion:
Put DJGPP.ENV and a BIN directory on the ramdisk. Put gcc.exe, cc1, as, ld,
stubify, and anything else you use a lot in BIN. Point your DJGPP
environment variable at the DJGPP.ENV on the ramdisk. Then edit the
DJGPP.ENV to make anything that's located elsewhere be pointed to. Eg, if
the include files live on the network drive, perhaps create an environment
variable called MORE_DJGPP, point it at g:\djgpp, and set up DJGPP.ENV so
that INCLUDE_PATH includes it.

This is rather vague, but I hope it'll be a start.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019