Mail Archives: djgpp/1994/12/02/23:27:00
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 -