skip book previous and next navigation links
go up to top of book: HP OpenVMS Alpha Partitioning and Galaxy Guide HP OpenVMS Alpha Partitioning and Galaxy Guide
go to beginning of chapter: NUMA Implications on OpenVMS Applications NUMA Implications on OpenVMS Applications
go to previous page: RAD DCL Command Summary Table RAD DCL Command Summary Table
go to next page: Creating an OpenVMS Galaxy on AlphaServer GS140/GS60/GS60E SystemsCreating an OpenVMS Galaxy on AlphaServer GS140/GS60/GS60E Systems
end of book navigation links

System Dump Analyzer (SDA) Support for RADs  



The following System Dump Analyzer (SDA) commands have been enhanced to include RAD support:

SHOW RAD  

The SDA command SHOW RAD displays:

This command is useful only on hardware platforms that support RADs (for example, AlphaServer GS160 systems). By default, the SHOW RAD command displays the settings of the RAD_SUPPORT system parameter fields.

Format:

SHOW RAD [number|/ALL]

Parameter:

number

Displays information on CPUs and memory for the specified RAD.

Qualifier:

/ALL

Displays settings of the RAD_SUPPORT parameter fields and all CPU/memory assignments.

The following example shows the settings of the RAD_SUPPORT system parameter fields:

    SDA> SHOW RAD
 
    Resource Affinity Domains
    -------------------------
    RAD information header address: FFFFFFFF.82C2F940
    Maximum RAD count:                       00000008
    RAD containing SYS$BASE_IMAGE:           00000000
    RAD support flags:                       0000000F
 
    3         2 2         1 1
    1         4 3         6 5         8 7         0
    +-----------+-----------+-----------+-----------+
    |..|..| skip|ss|gg|ww|pp|..|..|..|..|..|fs|cr|ae|
    +-----------+-----------+-----------+-----------+
    |..|..|    0| 0| 0| 0| 0|..|..|..|..|..|00|11|11|
    +-----------+-----------+-----------+-----------+
 
    Bit 0 = 1:          RAD support is enabled
 
    Bit 1 = 1:          Soft RAD affinity support is enabled
                        (Default scheduler skip count of 16 attempts)
 
    Bit 2 = 1:          System-space replication support is enabled
 
    Bit 3 = 1:          Copy on soft fault is enabled
 
    Bit 4 = 0:          Default RAD-based page allocation in use
 
                        Allocation Type               RAD choice
                        ---------------               ----------
                        Process-private pagefault     Home
                        Process creation or inswap    Random
                        Global pagefault              Random
                        System-space page allocation  Current
 
    Bit 5 = 0:          RAD debug feature is disabled)
The following example shows information about the CPUs and memory for RAD 2:
    SDA> SHOW RAD 2
 
 
    Resource Affinity Domain 0002
    -----------------------------
 
    CPU sets:
 
      Active      08 09 10 11
      Configure   08 09 10 11
      Potential   08 09 10 11
 
 
    PFN ranges:
 
      Start PFN   End PFN     PFN count   Flags
      ---------   --------    ---------   -----
      01000000    0101FFFF    00020000    000A  OpenVMS Base
      01020000    0103FFFF    00020000    0010  Galaxy_Shared
 
    SYSPTBR:      01003C00)

SHOW RMD (Reserved Memory Descriptor)  

The SDA command SHOW RMD has been enhanced to indicate the RAD from which reserved memory has been allocated. If a RAD was not specified when the reserved memory was allocated, then SDA displays ANY.

SHOW PFN  

The SDA command SHOW PFN has been enhanced to include the /RAD qualifier. It is similar to the existing /COLOR qualifier.

RAD Support for Hard Affinity  

The SET PROCESS command has been enhanced to include the /AFFINITY qualifier. The /AFFINITY qualifier allows bits in the kernel thread affinity mask to be set or cleared. The bits in the affinity mask can be set or cleared individually, in groups, or all at once.

The /NOAFFINITY qualifier clears all affinity bits currently set in the current or permanent affinity masks, based on the setting of the /PERMANENT qualifier. Specifying the /AFFINITY qualifier has no direct effect, but merely indicates the target of the operations specified by the following secondary parameters:

This example shows how to set the affinity bits to active for CPUs 1, 2, 3, and 5:

$ SET PROCESS /AFFINITY /PERMANENT /SET = (1,2,3,5)
On a system that supports RADs, the set of CPUs to which you affinitize a process should be in the same RAD. For example, on an AlphaServer GS160 with CPUs 0,1,2,3 in RAD 0 and with CPUs 4,5,6,7 in RAD 1, SET = 2,3,4,5 would not be a good choice because half of the time you could be executing off your home RAD.
go to previous page: RAD DCL Command Summary Table RAD DCL Command Summary Table
go to next page: Creating an OpenVMS Galaxy on AlphaServer GS140/GS60/GS60E SystemsCreating an OpenVMS Galaxy on AlphaServer GS140/GS60/GS60E Systems