April 1, 1981 LOCATE Use the LOCATE command to find the addresses of CP control blocks
associated with a particular user, a user's virtual device, or a real
system device. The control blocks and their use are described in the VMil70 !!.§:i.§: Are.§:2 an£ Control Block Logig. The format of the LOCATE command is:
LOCate {
'USerid
[VaddrJ} raddr L---- ______________________________________________________________________ userid
vaddr
raddr VMBLOK VMBLOK xxxxxx RCHBLOK xxxxxx
is the user identification of the logged-on user. The address
of this user's virtual machine block (VMBLOK) is printed.
causes the virtual channel block (VCHBLOK), virtual control
unit block (VCUBLOK), and virtual device block (VDEVBLOK) addresses associated with this virtual device address to be
printed with the VMBLOK address.
causes the real channel block (RCHBLOK), real control unit
block (BCUBLOK), and the real device block (RDEVBLOK) addresses associated with this real device address to be
printed.
xxxxxx VCHBLOK xxxxxx RCUBLOK xxx xxx VCUBLOK xxxxxx RDEVBIOK xxxxxx VDEVBLOK xxxxxx
section 3. CP Commands 89
Page of GC20-1806-9 As Updated April 1, 1981 by TNL GN25-0834 LOCK Use the LOCK command to permanently lock in real storage selected pages
of the 'pageable CP nucleus or of a user's virtual storage, thus
excluding them from future paging activity.
The LOCK command can enhance the efficiency OL a particular virtual machine by keeping high activity pages such as virtual page zero in real
storage if the reserved page frames option is already in use by some
other virtual machine. If the amount of page frames available for
paging is limited, the LOCK command should not be issued without the
approval of the systems programmer. Note: If too many pages of real storage are locked, the remaining
virtual machines may not have enough available page frames left to
operate Throughput may then be severely degraded in all
virtual machines because of excessive contention for the remaining
available page frames. Once a page is locked, it remains locked until either the user logs
off the system or you issue the UNLOCK command for that page. If a user
wi th the "locked pages" option in effect should re- IPL his system or
load another system, the locked pages are unlocked and available to the
system being loaded. Note that in the attached processor environment,
shared pages cannot be locked. Once the virtual=real area is unlocked,
a lock cannot be issued to run another V=R machine until VM/370 is
reloaded.
In uniprocessor mode you can lock a shared page but, if the shared
page becomes nonshared, the system unlocks it., In addition, if a
protected shared page locked and it is changed, the system unlocks
it.
The virtual pages locked in processor storage are blocks of 4K (4096) bytes. This block of storage need not represent all of the user's
virtual storage. The LOCK command may be issued as many times as
required for one virtual machine to lock noncontiguous pages of storage.
The remaining virtual machine storage blocks may remain pageable. The format o-f the LOCK colI-mand is; LOCK {
userid } firstpage lastpage [MAP] SYSTEM L---- ______________________________________________________________________ __ userid SYSTEM firstpage
is the user identification of a logged-on user.
locks one or more of the pageable CP pages6 The pageable
page(s) are locked until released by the UNLOCK command.
is the hexadecimal value of the first user page to ·be brought
into storage and locked.
lastpage is the hexadecimal value of the last user page to be brought
into storage and locked. If only one page 1S to be brought
into storage, lastpage must be the as firstpage. 90 VM/370 operator's Guide
Previous Page Next Page