Reducing paging effects
Reducing paging effects is a technique used by CICS in a virtual-storage environment. The key objective of programming in this environment is the reduction of page faults. A page fault occurs when a program refers to instructions or data that do not reside in real storage, in which case the page in virtual storage that contains the instructions or data referred to must be paged into real storage. The more paging required, the lower the overall system performance.
About this task
Although an application program may be able to communicate directly with the operating system, the results of such action are unpredictable and can degrade performance.
An understanding
of the following terms is necessary for writing application programs
to be run in a virtual-storage environment:
- Locality of reference
- The consistent reference, during the execution of the application program, to instructions and data within a relatively small number of pages (compared to the total number of pages in a program) for relatively long periods.
- Working set
- The number and combination of pages of a program needed during a given period.
- Reference set
- Direct reference to the required pages, without intermediate storage references that retrieve useless data.