SSDBK | Back to Index page

| Prolog Control Block Contents SSDBK DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

SSDBK Prolog | Top of page

     NAME       : HCPSSDBK
     DESCRIPTION: SYSTEM SMOOTHED DATA BLOCK
     DSECT      : SSDBK
     FUNCTION   : MAPS PERMANENT FREE STORAGE WHICH CONTAINS
                  THE DATA HISTORY NEEDED FOR SMOOTHING OVER
                  TIME.
     LOCATED BY : SRMSTPTB FIELD IN THE SRMBK
     CREATED BY : HCPISR AT SYSTEM INITIALIZATION.
     DELETED BY : NOT DELETED.  PERMANENT FREE STORAGE.
     RELOCATION CONSIDERATIONS : None
     COMMENTS   : - This control block is acquired by HCPISR at
                  system initialization for the exclusive use
                  of HCPSTP.  Since HCPSTP is a single-threaded
                  system task, there are no serialization
                  requirements for the data.
                  - There are 6 areas of the SSDBK.  The last is defined
                  by the ORG on SSDREST.  The first 5 are all the same
                  size and are 1st defined by the ORG on SSDTABLE.
                  The corresponding areas are defined as follows.  If
                  R1 points to an entry in the first area then:
                  0*SSDTBL(,R1) - Value from CP data accumulator
                  1*SSDTBL(,R1) - Contains new sample average
                  smoothed over DRATE.
                  2*SSDTBL(,R1) - Current delta value (observed) in
                  the CP data accumulator this time.
                  3*SSDTBL(,R1) - Previous delta value (observed)
                  in the CP data accumulator last
                  time.  (ONLY CALCULATED FOR
                  SUBROUTINE SDATF.  THIS VALUE IS
                  CALCULATED FOR DEBUGGING ONLY)
                  4*SSDTBL(,R1) - Contains new sample average
                  smoothed over HRATE.
                  - The following equats may be used to address the data.
                  -  No offset is needed to access the
                  value from the CP accumulator.
                  - DRATEAVE = 1*SSDTBL
                  - CDELTA   = 2*SSDTBL
                  - PDELTA   = 3*SSDTBL
                  - HRATEAVE = 4*SSDTBL

SSDBK Control Block Content | Top of page

     SSDBK DSECT
    Top of page

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      SSDBK          SYSTEM SMOOTHED DATA BLOCK
    0000    0 Bitstring 1000 SSDTABLE       Total size of 5 copies of SSDTB
    03E8 1000 Bitstring   40 SSDREST        SIZE OF DATA AREA AFTER TABLES
              00000082       SSDSIZE        (*-SSDBK+7)/8 DOUBLEWORD SIZE OF
                                            SSDBK
    0000    0 Dbl-Word     8 SSDTB          TABLE START; X'FF'S EYECATCHER
    0008    8 Dbl-Word     8 SSDELP         ELAPSED TIME
    0010   16 Signed       4 SSDSTL         STEAL PAGES INCREMENT
    0014   20 Signed       4 SSDTRM         DENOMINATOR TERM FOR STEAL CALC.
    0018   24 Dbl-Word     8 SSDTRD         TIME A USER TAKES TO READ A PAGE
    0020   32 Signed       4 SSDWSS         PROJECTED WSS
    0024   36 Signed       4 SSDPGIO        DASD PAGE I/O OPERATIONS
    0028   40 Signed       4 SSDC1CUM       ACCUMULATED CLASS 1 USERS
    002C   44 Signed       4 SSDC1WSS       ACCUMULATED CLASS 1 WSS
    0030   48 Signed       4 SSDC1PGR       ACCUMULATED CLASS 1 PAGING RATE
    0034   52 Signed       4 SSDXSTUF       XSTORE info for average age
    0038   56 Signed       4 SSDAUWSS       AVERAGE USER'S WSS
    003C   60 Signed       4 SSDAUPGR       AVERAGE USER'S PAGING RATE
    0040   64 Signed       4 SSDSRWP        SYSTEM RESOURCE WEIGHT FOR PAGING
    0044   68 Signed       4 SSDSRWS        SYSTEM RESOURCE WEIGHT " STORAGE
    0048   72 Signed       4 SSDSTEAL       SYSTEM WIDE STEAL VALUE
    004C   76 Signed       4 SSDEXPF1       CLASS 1 EXPANSION FACTOR ACCUM
    0050   80 Signed       4 SSDEXPF2       CLASS 2 EXPANSION FACTOR ACCUM
    0054   84 Signed       4 SSDEXPF3       CLASS 3 EXPANSION FACTOR ACCUM
    0058   88 Signed       4 SSDXSTR        XSTORE PAGE RATE (PGIN + PGOUT)
    005C   92 Signed       4 SSDXMIG        XSTORE MIGRATE RATE
    0060   96 Signed       4 SSDMDCPR       MiniDisk Cache: XSTORE Reads
    0064  100 Signed       4 SSDMDCPW       MiniDisk Cache: XSTORE Writes
    0068  104 Signed       4 SSDXMI2        XSTORE migrates for MDC adjusted
                                            every other STP intervl
    006C  108 Signed       4 SSDMDCIA       MiniDisk Cache: I/Os avoided
    0070  112 Signed       4 SSDMDCNA       MiniDisk Cache: I/Os not avoided
    0074  116 Signed       4 SSDSTL2        Paging steal rates for MDC
                                            adjusted every other STP intervl
    0078  120 Signed       4 SSDDORM        COUNT OF DORMANT LIST USERS.
    007C  124 Signed       4 SSDTCDEL       Count of pages stolen from full
                                            track cache
    0080  128 Signed       4 SSDTCXDL       Count of XSTORE blocks deleted
                                            from full track cache
          THE FOLLOWING TABLE HOLDS SMOOTHED LIST ACCUMULATORS FOR
          THE NUMBER OF USERS AND LOADING USERS IN THE DISPATCH
          AND ELIGIBLE LISTS.
          THE ORDER HERE IS CRITICAL AND SHOULD NOT BE CHANGED
          WITHOUT THOROUGH EXAMINATION OF HOW THEY ARE USED IN
          HCPSTPGS'S CODE (ORDER MATCHES WITH SRMUSERC IN SRMBK).
              00000084       SSDUSERC       * START OF THE USER COUNTERS
    0084  132 Signed       4 SSDDL          TOTAL DLIST USER COUNT
    0088  136 Signed       4 SSDD0          CLASS 0 DLIST USER COUNT
    008C  140 Signed       4 SSDD1          CLASS 1 DLIST USER COUNT
    0090  144 Signed       4 SSDD2          CLASS 2 DLIST USER COUNT
    0094  148 Signed       4 SSDD3          CLASS 3 DLIST USER COUNT
    0098  152 Signed       4 SSDLD0         CLASS 0 LOADING DLIST USER COUNT
    009C  156 Signed       4 SSDLD1         CLASS 1 LOADING DLIST USER COUNT
    00A0  160 Signed       4 SSDLD2         CLASS 2 LOADING DLIST USER COUNT
    00A4  164 Signed       4 SSDLD3         CLASS 3 LOADING DLIST USER COUNT
    00A8  168 Signed       4 SSDE0          CLASS 0 ELIST USER COUNT
    00AC  172 Signed       4 SSDE1          CLASS 1 ELIST USER COUNT
    00B0  176 Signed       4 SSDE2          CLASS 2 ELIST USER COUNT
    00B4  180 Signed       4 SSDE3          CLASS 3 ELIST USER COUNT
    00B8  184 Signed       4 SSDLE0         CLASS 0 LOADING ELIST USER COUNT
    00BC  188 Signed       4 SSDLE1         CLASS 1 LOADING ELIST USER COUNT
    00C0  192 Signed       4 SSDLE2         CLASS 2 LOADING ELIST USER COUNT
    00C4  196 Signed       4 SSDLE3         CLASS 3 LOADING ELIST USER COUNT
              00000044       SSDUSERL       *-SSDUSERC LENGTH OF THE USER
                                            TABLE
              000000C8       SSDTBL         *-SSDTB TABLE LENGTH IN BYTES
                                            NOTES : The following macro
                                            invocation causes an assemble
                                            NOTES : error (ARITHMETIC
                                            OVERFLOW) if the coded table size
                                            is NOTES : insufficient.
    03E8 1000 Bitstring   34 SSDUSERB       STARTING ADDRESS OF A BUFFER
                                            CONTAINING CORRESPONDING HALFWORD
                                            FIELDS TO SSDUSERC'S FULLWORD
                                            FIELDS. IT IS USED TO HOLD THE
                                            DISPATCH AND ELIGIBLE LIST COUNTS
                                            TO BE SMOOTHED.
              0000040A       SSDUSRBE       * ENDING ADDRESS OF SSDUSERB
              000000C8       DRATEAVG       1*SSDTBL
              00000190       CDELTA         2*SSDTBL
              00000258       PDELTA         3*SSDTBL
              00000320       HRATEAVG       4*SSDTBL

SSDBK Storage Layout | Top of page

    *** SSDBK - SYSTEM SMOOTHED DATA BLOCK
    *
    *     +-------------------------------------------------------+
    *   0 |                                                       |
    *     =                       SSDTABLE                        =
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 3E8 |                                                       |
    *     =                       SSDREST                         =
    *     |                                                       |
    *     +-------------------------------------------------------+
    * 410
    *
    *** SSDBK - SYSTEM SMOOTHED DATA BLOCK

    *** Overlay for SSDTABLE in SSDBK
    *
    *     +-------------------------------------------------------+
    *   0 |                        SSDTB                          |
    *     +-------------------------------------------------------+
    *   8 |                        SSDELP                         |
    *     +---------------------------+---------------------------+
    *  10 |          SSDSTL           |          SSDTRM           |
    *     +---------------------------+---------------------------+
    *  18 |                        SSDTRD                         |
    *     +---------------------------+---------------------------+
    *  20 |          SSDWSS           |         SSDPGIO           |
    *     +---------------------------+---------------------------+
    *  28 |         SSDC1CUM          |         SSDC1WSS          |
    *     +---------------------------+---------------------------+
    *  30 |         SSDC1PGR          |         SSDXSTUF          |
    *     +---------------------------+---------------------------+
    *  38 |         SSDAUWSS          |         SSDAUPGR          |
    *     +---------------------------+---------------------------+
    *  40 |         SSDSRWP           |         SSDSRWS           |
    *     +---------------------------+---------------------------+
    *  48 |         SSDSTEAL          |         SSDEXPF1          |
    *     +---------------------------+---------------------------+
    *  50 |         SSDEXPF2          |         SSDEXPF3          |
    *     +---------------------------+---------------------------+
    *  58 |         SSDXSTR           |         SSDXMIG           |
    *     +---------------------------+---------------------------+
    *  60 |         SSDMDCPR          |         SSDMDCPW          |
    *     +---------------------------+---------------------------+
    *  68 |         SSDXMI2           |         SSDMDCIA          |
    *     +---------------------------+---------------------------+
    *  70 |         SSDMDCNA          |         SSDSTL2           |
    *     +---------------------------+---------------------------+
    *  78 |         SSDDORM           |         SSDTCDEL          |
    *     +---------------------------+---------------------------+
    *  80 |         SSDTCXDL          |          SSDDL            |
    *     +---------------------------+---------------------------+
    *  88 |          SSDD0            |          SSDD1            |
    *     +---------------------------+---------------------------+
    *  90 |          SSDD2            |          SSDD3            |
    *     +---------------------------+---------------------------+
    *  98 |          SSDLD0           |          SSDLD1           |
    *     +---------------------------+---------------------------+
    *  A0 |          SSDLD2           |          SSDLD3           |
    *     +---------------------------+---------------------------+
    *  A8 |          SSDE0            |          SSDE1            |
    *     +---------------------------+---------------------------+
    *  B0 |          SSDE2            |          SSDE3            |
    *     +---------------------------+---------------------------+
    *  B8 |          SSDLE0           |          SSDLE1           |
    *     +---------------------------+---------------------------+
    *  C0 |          SSDLE2           |          SSDLE3           |
    *     +---------------------------+---------------------------+
    *  C8
    *
    *** Overlay for SSDTABLE in SSDBK

    *** Overlay for SSDREST in SSDBK
    *
    *     +-------------------------------------------------------+
    * 3E8 |                                                       |
    *     =                       SSDUSERB                        =
    *     |             +-----------------------------------------+
    *     |             | 40A
    *     +-------------+
    *
    *** Overlay for SSDREST in SSDBK

SSDBK Cross Reference | Top of page

    Symbol         Dspl Value
    -------------- ---- -----
    CDELTA         03E8 00000190
    DRATEAVG       03E8 000000C8
    HRATEAVG       03E8 00000320
    PDELTA         03E8 00000258
    SSDAUPGR       003C
    SSDAUWSS       0038
    SSDC1CUM       0028
    SSDC1PGR       0030
    SSDC1WSS       002C
    SSDDL          0084
    SSDDORM        0078
    SSDD0          0088
    SSDD1          008C
    SSDD2          0090
    SSDD3          0094
    SSDELP         0008
    SSDEXPF1       004C
    SSDEXPF2       0050
    SSDEXPF3       0054
    SSDE0          00A8
    SSDE1          00AC
    SSDE2          00B0
    SSDE3          00B4
    SSDLD0         0098
    SSDLD1         009C
    SSDLD2         00A0
    SSDLD3         00A4
    SSDLE0         00B8
    SSDLE1         00BC
    SSDLE2         00C0
    SSDLE3         00C4
    SSDMDCIA       006C
    SSDMDCNA       0070
    SSDMDCPR       0060
    SSDMDCPW       0064
    SSDPGIO        0024
    SSDREST        03E8
    SSDSIZE        03E8 00000082
    SSDSRWP        0040
    SSDSRWS        0044
    SSDSTEAL       0048
    SSDSTL         0010
    SSDSTL2        0074
    SSDTABLE       0000
    SSDTB          0000
    SSDTBL         00C4 000000C8
    SSDTCDEL       007C
    SSDTCXDL       0080
    SSDTRD         0018
    SSDTRM         0014
    SSDUSERB       03E8
    SSDUSERC       0080 00000084
    SSDUSERL       00C4 00000044
    SSDUSRBE       03E8 0000040A
    SSDWSS         0020
    SSDXMIG        005C
    SSDXMI2        0068
    SSDXSTR        0058
    SSDXSTUF       0034

This information is based on z/VM 7.2.0 Last updated on 24 Jun 2020 at 09:30:48 EDT.
Copyright IBM Corporation, 1990, 2020