execution, CP assigns it to a paging device, selecting the fastest such
device with available space. If the page has not changed, it remains
allocated in its original direct access location and is paged into real
storagefrom there the next time the virtual machine references that
page.A virtual machine program can use the DIAGNOSE instruction to
tell CP that the informationfrom specific pages of virtual storage is
no longer needed; CP then releases the areas of the paging devices which
were assigned to hold the specified pages.
Paging is done ondemand by CP. This means that a page of virtual
storage is not read (paged) fro. the paging device to a real storage
block until it is actually needed for virtual machine execution. Cpmakes no attempt to anticipate what pages might be required by a virtual machine. While a paging operation is performed for one virtual machine,
another virtualmachine can be executing. Any paging operation
initiated by CP is transparent to the virtual-machine. --
If the v1rtualmaCh1ne is executing in extenaea control .ode with
translate on, thentwo additional sets of segment and page tables are
kept. The virtualmachine operating system is responsible for mapping the virtual storage created by it to the storage of the virtual machine. CP uses this set of tables in conjunction with the page and segment tables created for the virtual aachine at logon time to build shadow
page tables for the virtualmachine. These shadow tables map the
virtual storage created by the virtual machine operatingsystem to the
storage of the real computingsystem. The tables created by the virtual machine operating system may describe any page and segment size
permissible in theIB! System/370. The system operator may assign the reserved page frames option to a
single virtualaachine. This option, specified by the SET RESERVE command, assigns a specific a.ount of the storage of the real machine to
the virtualmachine. CP will dynamically build up a set of reserved
real storage pageframes for this virtual machine during its execution
until themaximua number "reserved" is reached. Since the pages of
other virtualmachines are not allocated from this reserved set, the
effect is that .ost of the active pages of the selected virtualmachine reaain in real storage.
DuringCP system generation, the installation may specify an option
called virtual=real.With this option, the virtual machine's storage is
allocated directlyfrom real storage at the tiae the virtual machine logs on (if it has the VIRT=RE1L option in its directory) • 111 pages
except page zero are allocated to the corresponding real storage
locations. In order to control the real coaputingsystem, real page
zeromust be controlled by CP. Consequently, the real storage size must be large enough to accomaodate the CP nucleus, the entire virtual=real
virtualaachine, and the reaaining pageable storage requirements of CP and the other virtual aachines.
The virtual=real optionimproves performance in the selected virtual aachine since it reaoves the need for CP paging operations for the
selected virtual .achine. The virtual=real option is necessary wheneverprograas that contain dynaaically aodified channel programs (excepting
those ofOS IS1! and OS/VS TC1! Level 5) are to execute under control of CP. Por additional infor.ation on running systems with dynamically .odified channel programs, see "Dynaaically Modified Channel Programs" in Y!L170 Prog!AY!!!..!.§ §.yide. CP Introduction 1-5
device with available space. If the page has not changed, it remains
allocated in its original direct access location and is paged into real
storage
page.
tell CP that the information
no longer needed; CP then releases the areas of the paging devices which
were assigned to hold the specified pages.
Paging is done on
storage is not read (paged) fro. the paging device to a real storage
block until it is actually needed for virtual machine execution. Cp
another virtual
initiated by CP is transparent to the virtual-machine. --
If the v1rtual
translate on, then
kept. The virtual
page tables for the virtual
virtual storage created by the virtual machine operating
storage of the real computing
permissible in the
single virtual
the virtual
real storage page
until the
other virtual
effect is that .ost of the active pages of the selected virtual
During
called virtual=real.
allocated directly
except page zero are allocated to the corresponding real storage
locations. In order to control the real coaputing
zero
virtual
The virtual=real option
selected virtual .achine. The virtual=real option is necessary whenever
those of