TIP: Click on subject to list as thread! ANSI
echo: os2
to: JERRY LAPHAM
from: MIKE RUSKAI
date: 1998-04-20 23:00:00
subject: Beginlibpath?

Some senseless babbling from Jerry Lapham to Mike Ruskai
on 20 Apr 98  01:14:00 about Beginlibpath?...
 JL> Mike Ruskai said to Darin Mcbride in the Os2 conference on 04-17-1998:
 
 MR> System libaries, rather than being unloaded when apps cease to use
 MR> them,  are pushed to the swapper forcefully instead.  It's faster to
 MR> recall  "active" code from the swapper than it is to load it.
 MR> 
 MR> It wouldn't matter if you had one gigabyte of RAM, you'd still
 MR> swap out  those system libraries when they were no longer being
 MR> actively used, so  that the next use of them would be faster. 
 JL> But why would the system swap out inactive system libraries when it
 JL> didn't need the memory for something else?  I have 64MB of memory in
 JL> this system and SwapMon has shown my default 2MB swap file as "in use"
 JL> only once in the past six months.
There are a bunch of people much more qualified than me to answer that 
question. 
As I understand it, the system libraries are essentially copied to the swap 
file, so that when overcommit occurs, they don't need to be swapped in and 
out of memory - they are pushed into oblivion from memory, and recalled 
from the swapper as necessary, without removing the code from the swapper.
So, IIRC, not only are the system DLL's not unloaded when no longer 
referenced by running programs, but maintained in the swap file at all 
times, so that the overhead associated with moving pages in and out of the 
swap file is avoided.  This occurs only with system libraries, though.  
Mike Ruskai SA/AG #1106
thanny@home.com
... IF (warranty=expired) then (equipment=broke)
--- Renegade v05-11 Exp
---------------
* Origin: The Licking Factory, OS/2 in NJ! (732)815-3146 (1:107/634)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.