delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/02/23:27:00

From: Charles Sandmann <sandmann AT new-orleans DOT NeoSoft DOT com>
Subject: Re: gnu c for PeeCees
To: hyatt AT redmont1 DOT cis DOT uab DOT edu (Robert Hyatt)
Date: Fri, 2 Dec 1994 10:12:40 -0600 (CST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP Mailing List), dj AT ctron DOT com (DJ Delorie)

The problem with the slowdown in this case is a bug I thought I would let
the list know about.  If you use "NOEMS" on the command line with EMM386
GO32 works, but uses XMS memory allocation instead of VCPI memory
allocation.  The keep memory on exec functionality, checks for vcpi but
does not know if valloc is using vcpi memory or xms memory.

The easy fix was to subedit GCC.EXE to set the keep on spawn memory to 
0 from 1024K.

Summary:  If you use EMM386 NOEMS, stubedit GCC.EXE keepmem=0 and
compiles will run a lot faster.

This issue disappears with V2, since it does not swap on exec at all
and pools all memory for all run modes (since they all look like dpmi).

- Raw text -


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