25.01.2015 Views

Caché Installation Guide - InterSystems Documentation

Caché Installation Guide - InterSystems Documentation

Caché Installation Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Calculating System Parameters for OpenVMS<br />

Working Set Control<br />

Type of Process<br />

Users<br />

Interactive Processes<br />

Batch Processes<br />

Batch Queues<br />

Method of Working Set Control<br />

The AUTHORIZE utility lets you change the default working set<br />

on a user-by-user basis.<br />

The DCL command SET WORKING_SET allows interactive<br />

processes to change working set parameters.<br />

The SUBMIT command qualifiers for working sets allow batch<br />

processes to alter physical memory allocations.<br />

You can use the DCL command INITIALIZE/QUEUE to alter<br />

working set parameters for batch queues.<br />

A.3.3 Keeping Memory Free for New Processes<br />

Memory is finite. Every time a new process begins under OpenVMS, it takes WSDEFAULT pages<br />

away from the total number of available pages. The remaining memory is available for the free page<br />

list and for WSINC additions to each process's allocation.<br />

Heavily loaded systems can run so many concurrent processes that the number of pages remaining for<br />

use in the free page list becomes very small. OpenVMS includes a parameter called FREELIM that<br />

sets a lower limit for the number of pages in the free page list.<br />

The size of the free and modified page lists directly affects the ratio of hard page faults to soft page<br />

faults. Hard page faults cause a process to experience a resource wait state, resulting in slow execution.<br />

For better performance, it is important to tune the system to minimize hard page faults. While soft<br />

faults are less expensive, an excessive soft page fault rate can also lead to poor performance.<br />

Whenever OpenVMS detects that the size of the free page list falls below FREELIM, OpenVMS starts<br />

a mechanism to bring the free list size up to FREEGOAL. To achieve this, if all other mechanisms are<br />

inadequate, OpenVMS may move the entire working set of an inactive process out to disk. This procedure<br />

is called swapping. The process placed on disk is swapped out. When the process is brought back<br />

into memory, it is swapped in. Swapping has a detrimental effect on overall system performance.<br />

A.3.4 Allocation for Shared Sections<br />

OpenVMS uses a slightly different approach for allocating memory for shared code and data. The<br />

GBLSECTIONS parameter sets the number of shared sections to be allocated when the system is started.<br />

The GBLPAGES parameter sets the number of global page table entries. Every group of 128 page<br />

entries requires 4 bytes of resident memory. In addition, OpenVMS uses the GBLPAGFIL parameter<br />

to set the maximum number of page file blocks available for global pages.<br />

72 <strong>Caché</strong> <strong>Installation</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!