delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/26/03:47:02

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: profiling...
Date: Wed, 25 Jun 1997 09:53:48 -0400
Organization: Cornell University
Lines: 14
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33B122EC.4A09@cornell.edu>
References: <199706250723 DOT IAA04387 AT tartan DOT scr DOT slb DOT com>
NNTP-Posting-Host: 128
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Leendert Combee wrote:
> 
> - For the reason of profiling, I did put the main part of my code
> into a 1000x loop. Now, if I run the code under plain DOS+cwsdpmi, 
> indeed I see the harddisk is accessed all the time (not 
> swapping/paging!, just  1000x file i/o); however, if I run the code 
> from a dosbox/win95 (same machine etc) I only see a harddisk access 
> once and that's it. ... I don't have smartdrive etc installed.

windows has its own 32-bit disk cache called vcache. so, under dos you
are running without a disk cache and in a dos box in windows 95, you are
running with.

	-- Sinan

- Raw text -


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