TIP: Click on subject to list as thread! ANSI
echo: os2
to: Peter Knapper
from: Jonathan de Boyne Pollard
date: 1999-11-13 21:19:16
subject: `Paging Peter Knapper! ...`

 PK> There was a fundamental change in the logic of the USE of SWAPPER.DAT
 PK> somewhere between V2.0 and V2.11 but I can't remember enough of the
 PK> details (it was too long ago) of when all this changed. The main
 PK> change was that a PAGE in memory that was from the EXECUTABLE part of
 PK> a program that NEVER altered, was written to the SWAP file just ONCE,
 PK> and subsequently was never written again. This provided a small
 PK> performance improvement on systems that were doing a lot of swapping.

In other words: discardable pages, aren't.

I believe (from memory) that the change was that discardable pages were not
discarded when paged out, but instead were written to the swap file. 
Discardable pages were, prior to that, re-created from the compressed page
image in the executable file afresh every time that they were demand paged in. 
 But uncompressing page images could have a significant performance impact on
systems where paging rates were high, as would usually be the case with (say)
6MeB machines, since it would be done for each page-in of a discardable page.

Changing OS/2 so that it only had to uncompress the image of such a page once, 
the first time that it was demand paged in, removed this overhead.

 ¯ JdeBP ®

--- FleetStreet 1.22 NR
114/477
143/1
* Origin: JdeBP's point, using Squish (2:257/609.3)

SOURCE: echoes via The OS/2 BBS

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™.