Previous Topic: Maintain Scratch Information in MemoryNext Topic: Use CICS Threadsafe Applications


Tailor System Generation Parameters

Set CA IDMS system generation parameters to the recommended value in the tables shown in Additional Considerations, and monitor your system performance to fine tune the parameter setting. It is usually best to over-allocate resources such as storage pools, program and reentrant pools, RCEs, and so on. As a general rule, it is better to be slightly over-allocated at the beginning and allow the system to run through a peak load period. You can then use the peak load statistics to reconfigure the system to optimum levels.

Business Value:

Adjusting the CA IDMS system generation parameters appropriately for your site will provide optimal runtime performance of a CA IDMS system. This will help to meet Service Level Agreements for response time and effectively use available computing resources.

Additional Considerations:

The following tables contain recommended values for CA IDMS system generation parameters. The tables contain recommendations for the following system generation statements:

The parameter values fall into these three categories and are listed under the column Recommendation in the tables that follow.

The following table represents recommended values for parameters set using the SYSTEM statement.

Parameter

Recommended Setting

Affects

Benefit

ABEND STORAGE is

600

Program recovery

System stability

CUSHION is

10% of Pool 0

Reserved storage for executing tasks

System stability

DEADLOCK DETECTION INTERVAL is

1

Time to wait before detecting a deadlock

Impacts CPU, affects response time and throughput

JOURNAL

NOJOURNAL retrieval

Reduces I/O to journals

Saves CPU, reduces response time, increases throughput

JOURNAL FRAGMENT INTERVAL

0

Writes status information to journals

Reduced I/O to journal, saves CPU, reduces response time, increases throughput

JOURNAL TRANSACTION LEVEL

5

The fullness of a journal page

Reduced I/O to journal

LIMITS for online and LIMITS for external

OFF

Task resource usage

Saves CPU, reduces response time, increases throughput

LOADLIST is

SYSLOAD

Specifies load sequence for programs and dialogs

Saves CPU, reduces response time, increases throughput; see LOADLIST note

MAXIMUM ERUS is

<site specific>

Limits external concurrent access

Impacts CPU, affects response time and throughput; see MAX ERUS/MAX TASK note

MAXIMUM TASK is

<site specific>

Limits online concurrent access

Impacts CPU, affects response time and throughput; see MAX ERUS/MAX TASK note

PROGRAM POOL is

<site specific>

Size of below the line program pool

Impacts CPU, affects response time and throughput; see PROGRAM POOLs note

PROTECT

PROTECT

Allows the system to protect itself from storage overlays

System stability; see Use the High Performance Storage Protect Option section

QUEUE JOURNAL

BEFORE

Specifies which queue images are written to the journals

Reduced I/O to journal, saves CPU, reduces response time, increases throughput

REENTRANT POOLS is

<site specific>

Size of below the line reentrant program pool

Impacts CPU, affects response time and throughput; see PROGRAM POOLs note

RELOCATABLE THRESHOLD

NO

Writes certain types of storage to the scratch area

Saves CPU, reduces response time, increases throughput

RETRIEVAL

NOLOCK

Maintenance of locks for records in areas accessed in shared retrieval

Saves CPU, reduces response time, increases throughput

RUNAWAY INTERVAL is

5

CPU seconds before abending a task as a runaway

Stability, impacts CPU, affects response time and throughput

RUNUNITS FOR

5 <site specific>

Preallocates run units for LOADER, MSGDICT, QUEUE, SECURITY, SIGNON, SYSTEM/DEST

Saves CPU, reduces response time, increases throughput

SCRATCH IN STORAGE

YES

Eliminates the need for a physical scratch file

Saves CPU, reduces response time, increases throughput

STACKSIZE is

3000

Size of system internal work area

Stability

STORAGE POOL is

1200 <site specific>

Size of below the line storage pool

Impacts CPU, affects response time and throughput; see STORAGE POOL note

SYSLOCKS is

400,000 <site specific>

Number of locks the system should pre-allocate

Impacts CPU, affects response time and throughput

SYSTRACE

OFF

Internal tracing

Saves CPU; see SYSTRACE note

TICKER INTERVAL

1

Time to wake up system to check for work

Impacts CPU, affects response time and throughput, affects all timer functions within CA IDMS

UPDATE

NOLOCK

Maintenance of locks for areas in protected update usage mode

Saves CPU, reduces response time, increases throughput

XA PROGRAM POOL is

<site specific>

Size of above the line 31-bit non- reentrant pool

Impacts CPU, affects response time and throughput; see PROGRAM POOLs note

XA REENTRANT POOL is

<site specific>

Size of above the line 31-bit reentrant pool

Impacts CPU, affects response time and throughput; see PROGRAM POOLs note

XA STORAGE POOL is

<site specific>

Size of above the line 31-bit SYSTEM storage pool

Impacts CPU, affects response time and throughput; see PROGRAM POOLs note

Notes:

LOADLIST

LOADLIST tailoring can provide significant CPU savings and response time reduction but incorrect specification can and will result in exactly the opposite. Initially try using the default SYSLOAD loadlist with the NODYNAMIC option of the Program Definition statement.

MAX ERUS/MAX TASK

There are no magic numbers for these two parameters. They need to be determined by each site. We recommend that you specify high values for both on the system statement, and then use the following command to vary max tasks up or down until the optimum number is found.

DCMT VARY ACIVE TASK MAX TASK nnn

You could initially set both parameters to 100. If you are using CA IDMS/DC, then you set the MAX ERUS parameter to accommodate any batch to CV jobs you may need to run. Sites that only run CICS COBOL or PL/I DML transactions can set the MAX TASK value to a very low number; 5 is recommended. A low value allows for any online work that may need to be processed (for example, signing on through the system console).

CICS TS sites should also note that if the value of the CA IDMSMAX ERUS parameter is set below the CICS MAXTASK parameter, they could experience 1473 abends. If MAX ERUS is reached, meaning all the allocated ERE control blocks that maintain the link between the external session and the central version are in use, the next CICS task that needs to interact with the central version will not be able to and will abend with a 1473 error code. You can prevent this by specifying a value for MAX ERUS that is higher than the CICS MAXTASK parameter value. In this way, CICS tasks will be able to acquire an ERE. You can then control the number of CICS tasks that are allowed to run within the central version using the DCMT VARY ACTIVE TASK MAX TASK command.

PROGRAM POOLs

Select values for your PROGRAM POOL parameters and then tune them. You can determine the appropriateness of your current settings by using various statistics such as the output of the DCMT DISPLAY ACTIVE PROGRAMS and DCMT DISPLAY ACTIVE REENTRANT PROGRAM commands.

When upgrading to a new release of CA IDMS, the size of all below the line PROGRAM and REENTRANT pools should be allocated at the size they were in the prior release.

STORAGE POOL

The STORAGE POOL parameter specifies the size of storage pool 0 that is used for system type storage. This pool could and would be used for other types of storage, user and shared, if there were no other pools defined in the system; however, you will always define other pools. The 1200 K allocation is probably on the high side, and can be reduced after determining how much storage is used during your peak processing period. Use statistics displays from DCMT, OPER, and CA IDMS Performance Monitor to help determine the appropriateness of your current setting. For example, the OPER WATCH STORAGE command displays the number of times a short-on-storage (SOS) condition occurred and the number of waits for storage.

SYSTRACE

Internal system trace data is sometimes needed for debugging. When a problem exists, CA Technical Support may ask you to set the SYSTRACE parameter to ON and set the number of entries to 9999 using SYSGEN or higher using DCMT vary commands.

XA STORAGE POOL

This parameter controls storage pool 255 that is the XA equivalent of storage pool 0. This pool must be defined. All system type storage is allocated out of this pool. If this pool fills, the storage pool 0 will be used; however, using the storage pool 0 should be avoided. An allocation of 12000 is likely higher than what you will actually need, but it is better to over-allocate than under-allocate, as mentioned earlier.

ADSO Statement

The following table represents recommended values for parameters set using the ADSO statement.

Parameter

Recommended Setting

Affects

Benefit

DIALOG STATISTICS

off <site specific>

Collects dialog statistics

Saves CPU

FAST MODE THRESHOLD is

OFF

Writes RBBs and other information to SCRATCH

Saves CPU, reduces response time, increases throughput

RESOURCES are

FIXED

Writes ADS related storage to SCRATCH

Saves CPU, reduces response time, increases throughput

Program Definition Statement

The following table represents recommended parameter values for each PROGRAM statement.

Parameter

Recommended Setting

Affects

Benefit

NODYNAMIC

NODYNAMIC

Dynamically look for newer versions in LOADLIST

Saves CPU, reduces response time, increases throughput

PROTECT

PROTECT

Program runs with storage protection

System stability; see Use the High Performance Storage Protect Option section

Task Definition Statement

The following table represents a recommended parameter value for each system generation TASK statement.

Parameter

Recommended Setting

Affects

Benefit

PROTOCOL is

EXPRESP

IDMS waits for a response from VTAM

Reduces response time and increases throughput

STORAGE POOL and XA STORAGE POOL Statements

The following table represents recommended parameter values for the STORAGE POOL and XA STORAGE POOL statements. These statements are used to create user-defined secondary storage pools.

Parameter

Recommended Setting

Affects

Benefit

SIZE

<site-specific>

Size of above the line and below the line storage allocated

Impacts CPU utilization, response time, and throughput; see STORAGE POOLs note

CONTAINS TYPES

See STORAGE POOLs note

Ability to use High Performance Storage Protect Option

Impacts system integrity and performance

CUSHION

5% of pool size

System stability

System stability

NOPGFIX

 

Suppresses page fixing

Impacts performance

RELOCATABLE THRESHOLD

NO

Writing relocatable storage to scratch

Saves CPU, reduces response time, increases throughput

Notes:

STORAGE POOLs

The size of USER storage pools, those numbered 1 thru 127 for below the line pools and numbered 128 thru 254 for above the line storage pools, should initially be allocated to at least the size of the USER storage pools used in the prior release. As mentioned previously, it is best to allocate these pools larger than they were in the prior release. You may want to increase the size by 25 percent initially, and then cut them back after finding the true HWM after processing through your peak period.

The below the line and above the line storage pools should be defined as shown in the following lists.

Below the line storage pools:

The sizes of these below the line storage pools can be very small as the amount of below the line storage allocated is minimal.

Above the line (XA) storage pools:

As a size recommendation, we suggest that you overallocate. If you had one XA storage pool that contained all types in the prior release and its size was 10 M, allocate each pool at 10 M. You will not need all of this storage. After running through your peak processing time ,you can determine the HWMs and adjust as needed.

The High Performance Storage Protect Option requires the storage pools be defined in this manner. These definitions are also valid for non-protect, as well as full storage protect, usage.

More Information:

For detailed descriptions of all system generation (SYSGEN) options and parameters, see the CA IDMS System Generation Guide.

For descriptions and examples of all DCMT and OPER commands that can be used to monitor resources within the CA IDMS system, see the CA IDMS System Tasks and Operator Commands Guide.

For detailed online and batch reporting facilities available in the CA IDMS Performance Monitor product, see the CA IDMS Performance Monitor User Guide and the CA IDMS Performance Monitor System Administration Guide.