Caché Installation Guide - InterSystems Documentation
Caché Installation Guide - InterSystems Documentation
Caché Installation Guide - InterSystems Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
A.1.2 How OpenVMS Measures Process Memory<br />
OpenVMS Page Organization<br />
OpenVMS measures the code and data area that a process requires in pages. Shared sections<br />
are also measured in pages, sometimes called shared or global pages.<br />
On OpenVMS systems, page size is not fixed. Normally, it is 8192 bytes. Each page is divided<br />
into pagelets that are 512 bytes long.<br />
A.2 OpenVMS Page Organization<br />
Sometimes a process needs to access many more pages than can fit within the physical<br />
memory allocated to the process. When this situation arises, OpenVMS stores the extra pages<br />
on disk. The operating system keeps only the most active, or most recently used, pages in<br />
memory. The total of all the pages of a process, whether they are stored in memory or on<br />
disk, is called the virtual memory set of the process. The pages currently stored in memory<br />
are called the physical working set of the process, often called working set. The status of each<br />
page is kept in the process's working set list.<br />
OpenVMS keeps track of free pages available to processes in a free page list. It also keeps a<br />
modified page list, which tracks pages that have been changed by a process and must be<br />
written to disk before being made available on the free page list.<br />
Sometimes a process needs access to a page not currently in its physical working set. When<br />
this happens, OpenVMS searches two places for that page. First, OpenVMS looks in the<br />
modified and free page lists, because the page might still be available in physical memory.<br />
If the page does not appear on either of these lists, OpenVMS then retrieves the page from<br />
disk.<br />
When OpenVMS must retrieve a page, the process has incurred a page fault. When the new<br />
page is in the modified or free page list, the page fault is called a soft page fault. When the<br />
page is only available on disk, the page fault is called a hard page fault. While OpenVMS<br />
retrieves the page from disk, the process becomes inactive. It remains in a page fault wait<br />
state until OpenVMS has successfully retrieved the necessary page. The length of time that<br />
this procedure requires varies according to the size of the disk, its rotation speed, and the load<br />
on the system.<br />
When OpenVMS retrieves the new page, it places one of the current working set pages in<br />
the modified or free page list. OpenVMS chooses a page that the process has not used recently.<br />
<strong>Caché</strong> <strong>Installation</strong> <strong>Guide</strong> 53