Displaying and controlling memory usage

The high-speed connector uses system heap to maintain the endpoint information for each endpoint group descriptor that is loaded to the z/TPF system.

All system heap that is obtained by the high-speed connector uses the following naming convention: ICONN.groupname.usage.

ICONN
A high-level owner qualifier that is used for all high-speed connector system heap.
groupname
A mid-level owner qualifier that indicates the group name for the high-speed connector endpoint group.
usage
A low-level owner qualifier that indicates what the system heap storage is used for.

You can display how much system heap is in use for the high-speed connector endpoint groups that are defined by using the ZSTAT command with the SYSHEAP parameter specified.

The following example shows the system heap usage for all endpoint groups that are defined.
User:   ZSTAT SYSHEAP NAME-ICONN.*
                                            
System: STAT0126I 13.43.20 SYSTEM HEAP STORAGE OWNER DISPLAY        
                                 31-BIT HEAP   64-BIT HEAP          
        PREALLOCATED SIZE   (KB)         N/A        204800          
        PREALLOCATED IN USE (KB)         N/A        110436       
        1MB FRAME STORAGE   (KB)        3072             0          
        HEAP STORAGE IN USE (KB)        2516        110436          
        AVAILABLE LIST SIZE (KB)         556         94364          
        MAX STORAGE IN USE  (KB)        2536        111824          
        SIZE OF HEAP        (KB)     1691648        614400 
        -------------------------------------------------                
        RECOVERABLE SYSTEM HEAP                                          
        ------------------------------------------------- _              
        SIZE OF RECOVERABLE SYSTEM HEAP (KB)                    9437183  
        MAX 1MEG SEGMENTS IN USE SINCE LAST INIT                      5  
        END OF DISPLAY+                                                  

                                   TOTAL (KB)   31-BIT HEAP   64-BIT HEAP   RECOVERABLE
        linresp                        388             0           388             0 
        tpf1http                       264             0           264             0
        tpfresp                        252             0           252             0
        tpfnores                       204             0           204             0 
        SCBS                           104             0           104             0
        IMONGLOG                        92             0            92             0 
        linnores                        76             0            76             0
        GCBS                             4             0             4             0 
        END OF DISPLAY+
The following example shows the system heap usage for a specific high-speed connector endpoint group.
User:   ZSTAT SYSHEAP NAME-ICONN.linresp.*                          
           
System: STAT0126I 13.48.00 SYSTEM HEAP STORAGE OWNER DISPLAY        
                                 31-BIT HEAP   64-BIT HEAP          
        PREALLOCATED SIZE   (KB)         N/A        204800          
        PREALLOCATED IN USE (KB)         N/A        110436         
        1MB FRAME STORAGE   (KB)        3072             0          
        HEAP STORAGE IN USE (KB)        2516        110436          
        AVAILABLE LIST SIZE (KB)         556         94364          
        MAX STORAGE IN USE  (KB)        2536        111824          
        SIZE OF HEAP        (KB)     1691648        614400    
        -------------------------------------------------                
        RECOVERABLE SYSTEM HEAP                                          
        ------------------------------------------------- _              
        SIZE OF RECOVERABLE SYSTEM HEAP (KB)                    9437183  
        MAX 1MEG SEGMENTS IN USE SINCE LAST INIT                      5  
        END OF DISPLAY+                                                        
                                   TOTAL (KB)   31-BIT HEAP   64-BIT HEAP   RECOVERABLE
        ASYNC REQUEST                  188             0           188             0
        ASYNC DATA                     188             0           188             0           
        QUEUE                            8             0             8             0
        GROUP ITEM                       4             0             4             0
        END OF DISPLAY+
You can configure the following areas of system heap storage:
ASYNC REQUEST
Related to the <maxAsyncMessage> element in the endpoint group descriptor file. The <maxAsyncMessage> element defines the maximum request size that can be passed on an asynchronous high-speed connector call. If the <maxAsyncMessage> value is greater than 0, the system preallocates a 4 KB block for every possible socket in the high-speed connector group.
ASYNC DATA
Related to the <maxAsyncData> element in the endpoint group descriptor file. The <maxAsyncData> element defines the maximum amount of user data that can be passed on an asynchronous high-speed connector call. If the <maxAsyncData> value is greater than 0, the system preallocates a 4 KB block for every possible socket in the high-speed connector group.
QUEUE
Related to the <qMaxDepth> element in the endpoint group descriptor file. The <qMaxDepth> element defines the maximum number of queued requests that wait to be processed by this group. The system allocates a minimum of one 4 KB block for the queue. More blocks are allocated for larger <qMaxDepth> values.