Hi,
What is the difference between paging & swapping, in MVS? Does the same apply to zOS?
What is the difference between paging and swapping?
- Robert Sample
- Global Moderator
- Posts: 1895
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: What is the difference between paging & swapping?
From the z/OS Concepts manual:
andSwapping is the process of transferring all of the pages of an address space between central storage and auxiliary storage.
A swapped-in address space is active, having pages in central storage frames and pages in auxiliary storage slots. A swapped-out address space is inactive; the address space resides on auxiliary storage and cannot execute until it is swapped in.
While only a subset of the address space's pages (known as its working set) would likely be in central storage at any time, swapping effectively moves the entire address space. It is one of several methods that z/OS® uses to balance the system workload and ensure that an adequate supply of available central storage frames is maintained.
Swapping is performed by the System Resource Manager (SRM) component, in response to recommendations from the Workload Manager (WLM) component.
Note that MVS has not been used for many years (over 20). The current IBM mainframe operating system is z/OS (although it is not uncommon to refer to z/OS as MVS since z/OS is derived from MVS).z/OS uses a series of tables to determine whether a page is in real or auxiliary storage, and where. To find a page of a program, z/OS checks the table for the virtual address of the page, rather than searching through all of physical storage for it. z/OS then transfers the page into central storage or out to auxiliary storage as needed. This movement of pages between auxiliary storage slots and central storage frames is called paging. Paging is key to understanding the use of virtual storage in z/OS.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute