Three CP performance options are available to reduce the CP overhead
associated with virtual machineI/O instructions or other privileged
instructions used by the virtual machine'sI/O Supervisor: .. I. The virtual=real option resoves the need
reference translation and paging before
specific virtualmachine. for CP to perform storage
eachI/O operation for a
2. The virtualmachine assist reduces the real supervisor state time used by V!/370. See PlanDiDg for a list of the processors on which it is available.
3.V!/370 Extended Control-Program Support further reduces the real
supervisor state time used byVM/370. See for a list of the processors on which it is
available.
Assignment and use of these options is discussed in"Preferred virtual !achines." Paging Considerations When virtual machines refer to virtual storage addresses that are not
currently in real storage, they cause a paging exception and the
associated CP pagingactivity. The addressing characteristics of programs executing in virtual storage have a significant effect on the number of page exceptions
experienced by that virtual machine. Routines that have widely
scattered storage tend to increase the paging load of a
particular virtualmachine. When possible, of code that are
dependent upon each other should be located in the same page. Reference
tables, constants, and literals should also be located near the routines
that use them. Exception or error routines that are infrequently used
should not be placed within main routines, but located elsewhere.When an available page of virtual storage contains only reenter able
code, paging activity can be reduced, since the page, although referred
to, is never changed, and thus does not cause a write operation to the
paging device. The first copy of that pageis written on the paging
device when thatframe is needed for some other more active page. Only inactive pages that have changed must be paged out. Virtual machines that reduce !heir paging activity by controlling
their use of addressable space 1mprove resourcemanagement for that
virtualmachine, the V!/370 system, and all other virtual .achines. The
total paging load thatmust be handled by CP is reduced, and more tiae
is available for productive virtual machine use.
Additional dynaaic paging storagemay be gained by controlling free
storage allocation. The amount of free storage allocated atV!/370 initialization time can be controlled by the installation. When the Systea is being generated, the FREE operand of the SYSCOR macro statement may be used to specify the number of free storage pages to be
allocated atsystem load time. If, at IPt tiae, the amount of storage that these pages represent is
greater than 25 percent of theV!/370 storage size (not including the V=R area, if any), a default nuaber of pages is used. The default value
is 3 pages for the first 256K bytes of storage plus 1 page for each
additional64K bytes (not including the V=R size, if any).
CP Introduction 1-27
associated with virtual machine
instructions used by the virtual machine's
reference translation and paging before
specific virtual
each
2. The virtual
3.
supervisor state time used by
available.
Assignment and use of these options is discussed in
currently in real storage, they cause a paging exception and the
associated CP paging
experienced by that virtual machine. Routines that have widely
scattered storage
particular virtual
dependent upon each other should be located in the same page. Reference
tables, constants, and literals should also be located near the routines
that use them. Exception or error routines that are infrequently used
should not be placed within main routines, but located elsewhere.
code, paging activity can be reduced, since the page, although referred
to, is never changed, and thus does not cause a write operation to the
paging device. The first copy of that page
device when that
their use of addressable space 1mprove resource
virtual
total paging load that
is available for productive virtual machine use.
Additional dynaaic paging storage
storage allocation. The amount of free storage allocated at
allocated at
greater than 25 percent of the
is 3 pages for the first 256K bytes of storage plus 1 page for each
additional
CP Introduction 1-27