delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/23/03:16:11

Date: Wed, 23 Oct 1996 09:04:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Paul Shirley <Paul AT chocolat DOT foobar DOT co DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: Virutal memory problems.
In-Reply-To: <kReHGGATm$ayEwVX@chocolat.foobar.co.uk>
Message-Id: <Pine.SUN.3.91.961023090200.6813I-100000@is>
Mime-Version: 1.0

On Mon, 21 Oct 1996, Paul Shirley wrote:

> >the next allocation to be taken from (ie if I then request 32-18 =
> >14Mb will it not 'allocate' any more), or is it really that bad?
> 
> In one sense it really is wasted, the block is allocated and you won't
> suddenly find it reused. However virtual memory paging will almost
> certainly scavenge the unused pages if required, though frankly I prefer
> to avoid the wastage in the first place.

The problem is not the waste (AFAIK, it isn't wasted), but rather the 
slow-down on the program once it starts paging.  Even if unused pages are 
swapped out, the program really crawls, because many DPMI servers aren't 
smart about virtual memory implementation.

- Raw text -


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