delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/23/17:25:16

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DPMI-Alloc with 192MB RAM - how ?
Date: Fri, 23 Jul 1999 15:41:49 CDT
Organization: Rice University, Houston, Texas
Lines: 14
Message-ID: <3798d38d.sandmann@clio.rice.edu>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990722195834 DOT 29776A-100000 AT is> <7n7si0$ae1$1 AT news DOT luth DOT se> <3797dc74 DOT sandmann AT clio DOT rice DOT edu> <7n9gpq$5lf$1 AT antares DOT lu DOT erisoft DOT se>
NNTP-Posting-Host: clio.rice.edu
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> : 1) To provide more than 128Mb virtual memory you need to use CWSPARAM to 
> :    increase the max swap file size.  This eats up DOS 640K memory - about
> :    32 bytes for each 1 Mb maximum swap usage (for the bitmap).  This would
> :    be an extra 4K of DOS memory to go from 128Mb virtual to 256Mb virtual.

> 4KB is a small price to pay (IMHO). Why not set the maximum as default?

In r5 the maximum will be 2Gb which would consume an extra 64Kb.  Dos memory is
a precious resource which is needed for DMA buffers, nested images, and 
pagetables.  The number of users which needed more than 128Mb of virtual 
memory (in 1995 it would take about 2 minutes just to read that from disk
and another 2 minutes to write it...) is very, very small.  I'm open to what
the default should be, but I figured 128Mb virtual was enough.  If you need
to run something that big you probably ought to buy more real memory :-)

- Raw text -


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