How to estimate the amount of CSA used for ASR and POOL table

Document ID : KB000105215
Last Modified Date : 06/07/2018
Show Technical Document Details
Question:
How to estimate the amount of CSA used for ASR and POOL table? 
Answer:
The executable CA Allocate code is loaded into the Dynamic LPA area, and not CSA. CA Allocate has been functioning this way since the year 2010 after applying PTF RO23185. 
Depending on which features of CA Allocate are used, there are several internal tables that are loaded into ECSA. 
 
For the ASR, it is a good estimate that each source code statement will require a minimum of 80 bytes of ECSA.
If the source statement is a compound statement (like IF-THEN-DO-END) or contains constants (like ‘FB’ or ‘SYSDA’) then additional bytes are needed. 
 
For the POOL table (member VDSTORGP), each entry requires 18 bytes of ECSA for each storage group name. 
For example, an entry like MN6428 00 PI3215 will require 18 bytes.
If the volume is defined to multiple storage groups, then 18 additional bytes are required for each storage group. 
For example, an entry like MN6428 00 PI3215,TEST12,PROD14 would require 54 bytes. 
If the volumes are defined with a pattern, they will still only require 18 bytes for each storage group. 
For example, an entry like P* 00 PRDVOL would only require 18 bytes of ECSA. 
Additional Information:
General CSA storage requirements:
When all features are enabled, the Allocation Manager component requires approximately 1741 KB of CSA above the 16-MB line, with the largest contiguous piece being 807 KB. 
The component also requires approximately 70 KB below the 16-MB line, with the largest contiguous piece being 66 KB. 
The Quota component uses a fraction of the same CSA that is used by the Allocation Manager component, in addition to the variable above-the-line storage requirements of the CSA Quota Table. 
The Allocation Selection Routines (ASRs) are loaded into CSA above the 16 MB line. The size of the ASRs varies depending on the number of statements coded. 
The CSA Quota Table is allocated above the 16 MB line. Its size depends on the number of quota groups that are defined. 
This is documented in chapter "Storage Requirements" at link - 
https://docops.ca.com/ca-allocate-dasd-space-and-placement/12-5/en/installing/installation-requirements#InstallationRequirements-StorageRequirements

Display the current CSA and E-CSA usage via CA SYSVIEW:
Issue the ACTIVITY command under SYSVIEW to display a list of active address spaces. 
Select the Allocate task via the PRE command and shift right until you see the CSA column.
Sample output: 
Cmd Jobname |Srvp Resgroup Server Quiesce   CSA E-CSA   SQA E-SQA C-Stg Omvs  
    VAMR125     1          NO     NO      72.2K 2.26M 2.07K   920 2.33M