Coupling facility requirements in an RLS environment
When you move to an RLS environment from an environment where multiple AORs accessed data sets in an FOR, the logging activity of the FOR is distributed across the AORs. Therefore, the coupling facility structure size required by each AOR increases.
Calculating increased AOR coupling facility storage requirements
Use the following formulae to calculate the avgbufsize, number of entries and akpintvl values for the AORs in the new RLS environment.
Calculate the AOR AVGBUFSIZE value
required by the INITSIZE and SIZE formulae:
AOR AVGBUFSIZE = ( AOR_bytes + (FOR_bytes / no. of AORs) ) / (intvlen * 25)
where:
- AOR_bytes is the number of bytes written to the system log by an AOR in the sampling interval.
- FOR_bytes is the number of bytes written to the system log by an FOR in the sampling interval.
- no of AORs is the number of cloned AORs using the FOR.
- intvlen is the length in seconds of the sampling interval.
Calculate the AOR no. entries value required
by the INITSIZE and SIZE formulae:
AOR no. entries = ((AOR_akpintvl + trandur) * 25) / 0.9
where:
-
where:AOR_akpintvl = ( AKPFREQ * intvlen ) / ( AOR_recs + (FOR_recs / no. of AORs) )- intvlen is the length in seconds of the sampling interval.
- AOR_recs is the number of records written to the system log by an AOR in the sampling interval.
- FOR_recs is the number of records written to the system log by an FOR in the sampling interval.
- no of AORs is the number of cloned AORs using the FOR.
- trandur is the execution time between sync points
of the longest-running transaction that runs as part of the normal
workload.
If this value is greater than AOR_akpintvl, use AOR_akpintvl as the duration or consider increasing AKPFREQ.
After you calculate the values for AOR AVGBUFSIZE and AOR no. entries, determine the values of INITSIZE and SIZE, as described in Structure size for system log usage.
Use the reports produced from the log stream statistics from CICS® Transaction Server for z/OS® that
occur in a reporting interval for the AORs and the FOR to calculate
the values:
- The number of log write operations
- The amount of data written