× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: What About Price vs. Performance?
  • From: "M. Lazarus" <mlazarus@xxxxxxxx>
  • Date: Wed, 04 Apr 2001 18:09:21 -0400

John,

At 4/4/01 08:14 AM -0400, you wrote:
>2.  OS/400 (and the Sys/38 before it) had algorithms at the heart of it's
>design that would page out pages of memory on a "by recent use" algorithm.
>We used to have Purge(*yes) and Purge(*no) for our call stack variables.
>Now it all works like Purge(*no) meaning that most recently used pages of
>memory are left there and only written to disk when space is needed and
>that page has not been marked as having been used recently.

1)  Does this mean that the PURGE() is now ignored (or unavailable)?

2)  My understanding of how PURGE() works differs from you 
explanation.  PURGE( *YES ) allows the system to page *part* of your 
program to disk as needed.  PURGE( *NO ) forced the system to page the 
*entire* program out, if the memory space is needed.

  Typically, an interactive program would be set to PURGE( *YES ), since 
only one section of code tends be needed during a given time span (i.e. 
processing of one screen at a time.)

  A batch program would usually not benefit from getting paged out in 
pieces, so it makes more sense to do it all at once.

  Comments?

  -mark

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.