www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/04/15:27:17

Date: Mon, 4 May 1998 18:59:36 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Johan van Ooijen <J DOT W DOT vanOOIJEN AT CPRO DOT DLO DOT NL>
cc: djgpp AT delorie DOT com
Subject: Re: large variation in run-time
In-Reply-To: <354DAFD3.8D277F06@CPRO.DLO.NL>
Message-ID: <Pine.SUN.3.91.980504185520.25534D-100000@is>
MIME-Version: 1.0

On Mon, 4 May 1998, Johan van Ooijen wrote:

> So the question is, whether there is an explanation for these large
> variations in run-time when using go32 ?

Does the program use disk I/O significant proportion of its run time? 
Does it swap to disk?  If so, your disk cache can skew the run time a
great deal. 

Another possibility might be the size of your innermost loop: if it 
sometimes overflows the CPU caches, you will see a factor of 2-4 in 
performance without any apparent explanation.

> and go32 says:
>    go32 version 1.12.maint3

Huh?  Is this program compiled with DJGPP v1.12?  If it's v2.01, run 
go32-v2, not go32 (it's a completely different program, and reports 
completely different results).

- Raw text -


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