27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SET SRM<br />

1394 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

18 openings are available to E3 users, but none of the openings is guaranteed<br />

against occupation by E1 <strong>and</strong> E2 users. When E1 <strong>and</strong> E2 users do occupy<br />

these openings, you can expect them to get out of the way relatively quickly<br />

compared with the time scale of an E3 transaction.<br />

DSPBuf INITial<br />

sets the parameters back to their initial values which, for practical purposes, are<br />

infinity.<br />

MAXWSS storpct[%]<br />

sets the maximum working set that any normal user is allowed to have. It is<br />

specified as a percentage of the system’s pageable storage. (Pageable storage<br />

is also known as the dynamic paging area, DPA, or paging pool.) If a user’s<br />

working set size (WSS) grows <strong>and</strong> exceeds this specified percentage of the<br />

pageable storage, the user is dropped from the dispatch list <strong>and</strong> put back in the<br />

eligible list.<br />

When a user is put in the eligible list for exceeding the MAXWSS, that user is<br />

treated as though his or her stay in the dispatch list had run to completion. The<br />

user is advanced to the next user class (for example, Q3) <strong>and</strong> is placed well out<br />

in the eligible list so that he or she does not immediately get back into the<br />

dispatch list to run again. The intent is to delay the user for a while to prevent<br />

him or her from occupying any more pages than he or she already does: the<br />

installation has told the scheduler (through the MAXWSS setting) that a user<br />

requires a working set size too large to be run. (For example, the installation<br />

does not want such large WSS users competing with the normal, more<br />

interactive, workload.) Still, the user travels through the eligible list <strong>and</strong> gets<br />

another chance to run, although it is likely that all of this user’s page frames<br />

will, in the meantime, have been stolen <strong>and</strong> given to other users. When the<br />

user does get to run again, the scheduler again evaluates the working set size:<br />

a user with too great a working set size (WSS) requirement gets to run only<br />

briefly before the MAXWSS mechanism removes him or her from the dispatch<br />

list again.<br />

For all this to work as intended, the system must have an actual eligible<br />

list—that is, the scheduler must consider the system to be storage constrained<br />

according to the setting of the SET SRM STORBUF parameters.<br />

If the MAXWSS percentage is set larger than the STORBUF percentages, the<br />

STORBUF percentages take precedence. A user is dropped from the dispatch<br />

list <strong>and</strong> sent to the eligible list if his or her WSS grows so large that it exceeds<br />

the STORBUF percentage for that user’s class. When this happens, users<br />

never get a chance to grow large enough to reach the MAXWSS percentage.<br />

Effectively, the MAXWSS control is inoperative when it is set larger than the<br />

STORBUF percentages. The value specified for MAXWSS may range up to<br />

9999%.<br />

Users having absolute shares are given special consideration. If a user’s<br />

absolute share is larger than the MAXWSS percentage, the user is allowed to<br />

grow beyond the MAXWSS percentage <strong>and</strong> to become as large as his or her<br />

absolute share percentage. However, such users are still limited by the<br />

STORBUF percentage. Having a large absolute share allows a user to exceed<br />

the MAXWSS control but not the STORBUF control.<br />

The MAXWSS control does not affect Q0 users, such as users with the<br />

QUICKDSP attribute.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!