delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/15/18:17:53

Date: Fri, 15 Jul 94 14:30:44 PDT
From: jde AT Unify DOT Com (Jeff Evarts)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: More on Performance

Hello,

Thanks for all the great input! I`ve taken some of the advice offered,
and learned a couple new things:

1)	Turning on a two-way disk cache drops the time to about 4 seconds.
	(Pretty good)

2)	The only things I seem to be hitting the disk for are in c:\djgpp\tmp.

3)	Undelete reports we`re creating and deleting two files there:

		?G2240AA.AAA	106496
		?G4215AA.AAA	 86016

	The ?-marks indicate an unknown character (undelete is clueless)

Since the deleted files looked like swap files, I tried this:

	I pointed GO32TMP at the ramdrive and removed the disk cache completely.

This eliminates all disk access and brings the execution time down to
about THREE SECONDS.

My last question:

	If (as it appears) we MUST create a swap file even if one is not
	needed, why does the FAQ recommend against pointing GO32TMP at a
	ramdrive? If you have enough RAM, it seems to have a very large
	impact. (A big "if" on smaller machines, but still a useful tip
	for some)

Again, thanks to everyone (especially DJ, Bob Babcock, and Dave Hayden) for
the pointers.

-Jeff Evarts

- Raw text -


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