z/OS MVS Programming: Workload Management Services
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Enclave Resource Accounting

z/OS MVS Programming: Workload Management Services
SC34-2663-00

Enclave Resource Accounting

The accounting for resources consumed by an enclave depends on whether it is an independent, work-dependent, dependent, or a foreign enclave.

A dependent enclave is a logical continuation of the transaction already active in a client's address space. Therefore, CPU and MSO service for a dependent enclave is included in the SMF 30 record of the owning address space, and in the SMF 72 record for the address space's transaction. MSO service for the enclave is calculated based on the frame count of the owning address space, not on frame usage in the address space(s) where the enclave is executing.

For an independent enclave and for work-dependent enclaves, CPU service is included in the SMF 30 record of the owning address space, and in the SMF 72 record for the enclave's service class or performance group period. MSO service is not calculated for either kind of enclave.

For dependent, work-dependent and independent enclaves, IOC service is included in the SMF 30 and 72 records associated with the address space where the enclave work is executing. SRB service for enclaves is always zero.

For a foreign enclave, CPU time is included in the SMF 30 record of the owning address space on the originating system. It is reported separately from local CPU time. CPU service is also included in the SMF 72 record on each system where the enclave executed.

Because CPU time used by foreign enclaves is included in the owner's SMF 30 record, it is not included in the SMF 30 records on the other systems where it actually executed. In order for those other systems to have some record of the CPU time used by foreign enclaves, an SMF 97 record is written for each SMF global recording interval. This SMF 97 record identifies the CPU time used by foreign enclaves during that interval, broken down by originating system. The installation can review the originating system's SMF 30 records to identify the specific jobs that consumed the CPU time in the foreign enclaves. Note that because data is collected asynchronously for the SMF 30 records, and because SMF intervals can vary from system to system, it may not be possible to exactly match SMF 30 times with SMF 97 times from one global interval to another.

Table 12 compares control characteristics and resource accounting for independent, work-dependent, dependent and foreign enclaves.

Table 12. Enclave characteristics and resource accounting (a.s. = address space)
Independent enclaveDependent enclaveForeign enclaveWork-dependent enclave
Dispatchable unit typeSRBs and/or tasksSRBs and/or tasksSRBs and/or tasksSRBs and/or tasks
New transaction?YesNoNoNo
OwnerHome space at the time IWM4ECRE is issued

Depends on the TYPE parameter passed to IWM4ECRE:

  • If TYPE=DEPENDENT, the home a.s. at the time the service was issued.
  • If TYPE=WORKDEPENDENT, the creating (dependent) enclave's home a.s.
  • If TYPE=MONENV, the a.s. associated with the monitoring environment - see Note 1
Owner of the original enclaveOwner a.s. of the creating independent enclave
Servera.s. where enclave work is dispatcheda.s. where enclave work is dispatcheda.s. where enclave work is dispatcheda.s. where enclave work is dispatched
Service class/report classAssigned based on attributes passed to IWM4ECRE (see Note 2)Same as owner.Same service & report class as original enclave.Same as owning independent enclave's
CPU timeOwner's SMF30Cpt (total) owner's SMF30Enc (independent and work-dependent enclaves only)Owner's SMF30Cpt (total) owner's SMF30Det (dependent enclave only)Owner's SMF30MRI (for foreign ind. enclave) owner's SMF30MRD (for foreign dependent enclave)Owner's SMF30Cpt (total) owner's SMF30Enc (independent and work-dependent only)
CPU service by a.s.Owner's SMF30Csu (total) owner's SMF30Esu (independent and work-dependent enclaves only)Owner's SMF30Csu (total)CPU time/SMF30MRA/256 * CPU coefficient (CPU coefficient can be obtained from SMF 72 record)Owner's SMF30Csu (total) owner's SMF30Esu (independent and work-dependent only)
CPU service by periodEnclave's R723CcpuOwner's R723CcpuEnclave's R723CcpuEnclave’s R723Ccpu
DASD I/O connect time by a.s. (see Note 3)Owner's SMF30Eic (independent and work-dependent enclaves only)Owner's SMF30Aic (dependent enclave + a.s.)n/aOwner's SMF30Eic (independent and work-dependent only)
DASD I/O connect time by period (see Note 3)Enclave's R723CictOwner's R723CictEnclave's R723CictEnclave's R723Cict
DASD I/O counts by a.s.Owner's SMF30Eis (independent and work-dependent enclaves only)Owner's SMF30Eis (independent and work-dependent enclaves only)n/aOwner's SMF30Eis (independent and work-dependent only)
DASD I/O counts by periodEnclave's R723CircOwner's R723CircEnclave's R723CircEnclave's R723Circ
Page delay samples, with storage mgt. (see Note 4)Enclave's R723CspvOwner's R723CspvEnclave's R723CspvEnclave's R723Cspv
Page delay samples, without storage mgt. (see Note 4)Enclave's R723CaxmOwner's R723CaxmEnclave's R723CaxmEnclave's R723Caxm
IOC serviceServer's SMF 30 and 72 recordsServer's SMF 30 and 72 recordsServer's SMF 30 and 72 recordsServer's SMF 30 and 72 records
SRB servicen/an/an/an/a
MSO servicen/aOwner's SMF30Mso, based on owner's frame countn/an/a
Notes:
  1. The address space associated with the monitoring environment is one of the following:
    • The address space related to the monitoring environment via the IWMMRELA service
    • If there is no related space, the home space at the time IWM4MINI was issued
  2. The attributes passed to IWM4ECRE are used with the classification rules in the active service policy to assign a service class and/or report class to the enclave.
  3. Connect time is used as an example here. Other measures associated with I/O in the SMF records are:
    • DASD I/O disconnect time in fields SMF30EID, SMF30AID, R723CIDT, and SMF72IDT.
    • DASD I/O wait time in fields SMF30EIW, SMF30AIW, R723CIWT, and SMF72IWT.
  4. Storage management is in effect for an enclave if either of the following is true:
    • The enclave includes one or more tasks.
    • The enclave includes at least one SRB which has issued the SYSEVENT ENCASSOC to associate itself with an address space.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014