🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1859

Can EMS pages be locked?

#1859
From: Sidney Markowitz
Date: Wed, 27 Mar 1991 12:33
14 lines
1109 bytes
I have a DOS app that uses over a megabyte of EMS and at one point
does some heavy access back and forth between two 64k tables that are
in EMS. Running under enhanced mode Windows, if the PIF does not
specify that EMS is locked, then the accesses to those two 64k tables
seems to cause a lot of disk thrashing. Locking the entire EMS
allocated to the program just to keep 128k from thrashing is overkill,
and makes the program hog too much of the system resources.

Does anyone know if there is a way for a DOS app to get Windows to
lock just those pages, or alternatively if there are any parameters to
set in system.ini or somewhere that would lead to better swapping
behavior by the EMS emulator?

 -- sidney markowitz <sidney@borland.com>
Technical Details
Message-ID: <1991Mar27.123301.11591@borland.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!borland.com!sidney

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!borland.com!sidney
From: sidney@borland.com (Sidney Markowitz)
Newsgroups: comp.windows.ms.programmer
Subject: Can EMS pages be locked?
Message-ID: <1991Mar27.123301.11591@borland.com>
Date: 27 Mar 91 12:33:01 GMT
Organization: Borland International
Lines: 14