SYSMANHELP.HLB  —  RAD Example
    The following example procedure shows how to use SYSMAN resource
    affinity domain (RAD) qualifiers and options.

    1. Show that no reserved memory registry exists:

       SYSMAN> reserved_memory list
       %SYSMAN-I-NODERR, error returned from node PIPERI
       -RMS-E-FNF, file not found

    2. Add a reservation for a group global section and display the
       new reservation:

 SYSMAN> reserved_memory add ak_sec/gr=4711 /size=16 /zero /page_tables
 SYSMAN> reserved_memory list

 %SYSMAN-I-OUTPUT, command execution on node PIPERI
 Reservation Name   Group    RAD  Size (MB)  Pages  Attributes
 AK_SEC             4711     ANY         16   2048  Allocated Zeroed
 AK_SEC             4711                         2  PageTables Allocated

    3. Modify the reservation to have memory assigned from each of
       four RADs; display the result:

 SYSMAN> reserved_memory modify ak_sec/gr=4711 /new_rad=0 /size=4
 SYSMAN> reserved_memory extend ak_sec/gr=4711 /rad=1 /size=4
 SYSMAN> reserved_memory extend ak_sec/gr=4711 /rad=2 /size=4
 SYSMAN> reserved_memory extend ak_sec/gr=4711 /rad=3 /size=4
 SYSMAN> reserved_memory list

 %SYSMAN-I-OUTPUT, command execution on node PIPERI
 Reservation Name  Group    RAD  Size (MB)      Pages  Attributes
 AK_SEC            4711       0          4        512  Allocated Zeroed
 AK_SEC            4711       1          4        512  Allocated Zeroed
 AK_SEC            4711       2          4        512  Allocated Zeroed
 AK_SEC            4711       3          4        512  Allocated Zeroed
 AK_SEC            4711                             2  PageTables Allocated

    4. Modify the reservation to no longer zero allocated pages at
       boot time. Note that you can change properties such as /ZERO,
       /ALLOCATE, /PAGE_TABLES only for the reservation as a whole,
       not for a specific RAD.

 SYSMAN> reserved_memory modify ak_sec/gr=4711 /nozero
 SYSMAN> reserved_memory list

 %SYSMAN-I-OUTPUT, command execution on node PIPERI
 Reservation Name  Group    RAD  Size (MB)      Pages  Attributes
 AK_SEC            4711       0          4        512  Allocated
 AK_SEC            4711       1          4        512  Allocated
 AK_SEC            4711       2          4        512  Allocated
 AK_SEC            4711       3          4        512  Allocated
 AK_SEC            4711                             2  PageTables Allocated

    5. Modify the reservation to no longer request memory from
       specific RADs. Note that the overall size remains unchanged.

 SYSMAN> reserved_memory modify ak_sec/gr=4711 /norad
 SYSMAN> reserved_memory list

 %SYSMAN-I-OUTPUT, command execution on node PIPERI
 Reservation Name  Group    RAD  Size (MB)      Pages  Attributes
 AK_SEC            4711     ANY         16       2048  Allocated
 AK_SEC            4711                             2  PageTables Allocated

    6. Starting with a reservation allocated across multiple RADs,
       request that memory no longer be allocated at boot time. Note
       that this implies that memory is no longer allocated from
       specific RADs.

       Reservation prior to change:

 SYSMAN> reserved_memory list

 %SYSMAN-I-OUTPUT, command execution on node PIPERI
 Reservation Name   Group    RAD  Size (MB)      Pages  Attributes
 AK_SEC             4711       0         4        512  Allocated
 AK_SEC             4711       1         4        512  Allocated
 AK_SEC             4711       2         4        512  Allocated
 AK_SEC             4711       3         4        512  Allocated
 AK_SEC             4711                            2  PageTables Allocated

       Command to no longer allocate at boot time:

 SYSMAN> reserved_memory modify ak_sec/gr=4711 /noalloc

       New state of reservation:

 SYSMAN> reserved_memory list

 %SYSMAN-I-OUTPUT, command execution on node PIPERI
 Reservation Name  Group    RAD  Size (MB)      Pages  Attributes
 AK_SEC            4711     ANY         16       2048
 AK_SEC            4711                             2  PageTables

    7. To change the size of a reservation with an assigned RAD, or
       to change the reservation to use a different RAD, you must
       specify the current RAD.

       Reservation prior to change:

 SYSMAN> reserved_memory list

 %SYSMAN-I-OUTPUT, command execution on node PIPERI
 Reservation Name  Group    RAD  Size (MB)   Pages  Attributes
 AK_SEC            4711       2         16    2048  Allocated
 AK_SEC            4711                          2  PageTables Allocated

       Attempt to change reservation size:

 SYSMAN> reserved_memory mod ak_sec/gr=4711 /size=20
 %SYSMAN-I-NODERR, error returned from node PIPERI
 -SMI-E-RMRNOMATCH, no records matched search criteria

     Correct command:
  SYSMAN> reserved_memory mod ak_sec/gr=4711 /rad=2 /size=20

       New state of reservation:

 SYSMAN> reserved_memory list

 %SYSMAN-I-OUTPUT, command execution on node PIPERI
 Reservation Name  Group    RAD  Size (MB)  Pages  Attributes
 AK_SEC            4711     2         20     2560  Allocated
 AK_SEC            4711                         3  PageTables Allocated
Close Help