GDSX (Extended General Device Support) Manual

Design and Development
Extended General Device Support (GDSX) Manual529931-001
2-22
Extended Segment for Control Structures
At process startup, TSCODE calculates the space required in extended memory for
each type of control block. Only after all calculations have been completed are
Figure 2-2. Extended Segment for GDSX
Extended buffer pool
default size (in words) = 32K
Extended message pool
default size (in words) = 32K
TCB pool
TCB pool size (in bytes) = $LEN(TCB^TEMPLATE) *(MAXTASKS + 5)
IOCB pool
IOCB poolsize (in bytes) = $LEN(IOCB^TEMPLATE) *MAXIOCBS
RCV pool
RCV pool size (in bytes) = ( RECEIVEDEPTH + 1 * 2)
FCB pool
FCB pool size (in bytes) = (MAXFILES + 1) *$LEN(FCB^TEMPLATE)
DCB pool
DCB pool size (in bytes) = (DCBTBL size) + $LEN(DCB^TEMPLATE) +
(MAXTERMS *($LEN(DCB^TEMPLATE) + (EXTSUSIZE * 2)))
where DCBTBL size is ((MAXTERMS + 1) * 4)
RCB pool
RCB pool size (in bytes) = $LEN(RCB^TEMPLATE) * (MAXOPENS +1)
VST010.vsd
LDCB pool
LDCB pool size (in bytes) = *$LEN(LDCB^TEMPLATE) * (MAXTASKS +5)
LCB pool
LCB pool size (in bytes) = *$LEN(LINE^TEMPLATE) * MAXLINES
PCB pool
PCB pool size (in bytes) = *$LEN(PCB^TEMPLATE) * MAXPROCESSES
Table of checkpointed buffers
Table size (in words) = (TASKCPSIZE) * (MAXTASKS +5)
Stack image area
Area size (in words) = ((TASKSIZE + 14) *2) * (MAXTASKS +5)
System memory pool
(reserved for TSCODE)
Shared extended pool
Shared extended pool size (in bytes) = POOLSIZE * 2
Private extended pool
Private extended pool size (in bytes) = (TASKPOOLSIZE * 2) * MAXTASKS
$RECEIVE queue
$RECEIVE queue size (in bytes)= receivesize * (masktasks +5)
Statistics table (optional)
Statistics table size (in bytes) = $LEN(XSTATS^TEMPLATE) * (MAXTASKS +5)
LOG message queue
LOG message queue size (in bytes) = 16K
Checkpoint buffer (backup^cp^buffer) (allocated only if GDSX is running as process pair)
Checkpoint buffer size = MAXCPSIZE words