NonStop RPM Wizard - SAW QA Training

Home Examples FAQs Documents Download History Support

B. RPM Wizard - Exercise << SAW QA >>

This section provides RPM training exercises for testing and educational purposes. The RPM Wizard includes QA
commands that allow you to create different CPU, IPU, and Process usage scenarios. These scenarios allow you
to understand how RPM detects, displays, and alerts you to real-time scenarios such as the one shown below.


Figure B - Above shows how the RPM SAW QA exercise causes RPM to detect, display, and alert IPU usage.
RPM shows how the RPM Wizard SAW QA scenario causes each IPU in CPU 3 to become progressively busy.
In this example, a process in each IPU in CPU 3 becomes increasingly busy (creating a SAW tooth across IPUs).
RPM shows how each IPU in \ROME Cpu 3 becomes increasingly busy. In the SAW scenario, process names:
$IQ0, $IQ1, $IQ2, $IQ3, $IQ4, $IQ5 each have BIND affinity and are bound to the IPU number that matches its process
name. Thus Process $IQ0 is bound to IPU 0 and is 10% busy; Process $IQ1 is bound to IPU 1 and is 20% busy;
Process $IQ2 is bound to IPU 2 and is 30% busy; and so on... creating a SAW tooth pattern that repeats. Note that
this training exercise not only teaches you how to interpret RPM reports, but also tests that RPM works correctly.

B.1 SAW Setup

To setup this QA test or training exercise, run RPM Wizard as shown below. RPM Wizard QA scenarios run at
priority 1 so do not interfere with apps, compiles, or other operations on NonStop servers.

$DATA MySubVol 1> RPMWIZ
===============================================================================
== HPE RPMWIZ - RPM Wizard - T0877V01.AAH (21SEP2018) http://www.NonstopRPM.com
===============================================================================
== RPMWIZ - RPM wizard is used to configure, install, and update RPM files.
== To install RPM for the first time, enter CONFIG, then SAVE, then INSTALL.
== To update an existing RPM with new object files, enter USE, then INSTALL.
==
== * CONFIG/USE - Creates/Uses RPM device configuration files. If you choose
== CONFIG the wizard interviews you and based your answers creates TTY,
== VT100, T6530 device config files for RPM, RPMVT, and RPM65 objects.
== If you choose USE the wizard uses your existing configuration files.
==
== * INSTALL - For new install enter CONFIG and SAVE commands for each device
== type you'll use with RPM. To update RPM objects only, enter USE to reuse
== existing RPM configuration. Then to install/update RPM on $SYSTEM.SYSTEM
== enter the INSTALL command. Once RPM is installed you can enter CONFIG and
== SAVE commands to create new configuration files.
==
== NOTES: Defaults are bracketed. For example: 10, 20, [100]? (100 is default)
== CTL-Y escapes a prompt, and continues to next-level in RPMWIZ.
===============================================================================

To start a training scenario, enter QA as shown below:

CONFIG | SAVE | USE | INSTALL | RUN | EXIT > QA

-----------------------------------------------------------------------------
-- Specify RPM QA Driver ?
-----------------------------------------------------------------------------
REV - The REV driver makes IPUs increasingly busy in 10% busy increments of
      10, 20, 30, 40, 50, 60%. Each IPU 10% busy step is synchronized with
      the default 10 second RPM sample interval. This option causes each 10
      second sample to be: 10%, 20%, 30%, 40%, 50%, 60% busy. Thus each IPU
      busy=time is: 10%=hh:mm:10, 20%=hh:mm:20, 30%=hh:mm:30, 40%=hh:mm:40,
      50%=hh:mm:50, 60%=hh:mm:00 (unless IPUs are otherwise busy).

RIP - The RIP driver RIPPLEs thru each IPU stepping up IPU busy by 10% for
      each 10 second interval. The RIP driver makes IPU busy RIPPLE through
      the number of IPUs you specify below. On the first 10 second sample
      IPU 0 will be 10% busy, then on the second 10 second sample,
      IPU 1 will be 20% busy, then on the third 10 second sample,
      IPU 2 will be 30% busy, etc (unless IPUs are otherwise busy).

SAW - The SAW driver starts by making IPU 0 10% busy, then IPU 1 20% busy,
      then IPU 2 30% busy, and so on. The net effect is a progressive
      multi-level SAW-tooth that cycles (unless IPUs are otherwise busy).

Enter RPM QA Driver: REV | RIP | [SAW] : SAW

-----------------------------------------------------------------------------
-- Specify CPU number ?
-----------------------------------------------------------------------------
  The CPU number specifies which CPU the QA test above should utilize.
  RPM QA tests always run at priority 1. Since they run at priority 1
  they cannot impact any other running processes in the specified CPU number.
  Typically for RPM QA/DEMO purposes, the selected CPU number should be a
  processor that is not heavily utilized.

Enter CPU number 0..15 [3] : 3

-----------------------------------------------------------------------------
-- Specify IPU count ?
-----------------------------------------------------------------------------
  The IPU count specifies the number of IPUs to utilize in the QA test above.
  Typically the count is the number of IPUs present in the specified CPU above

Enter IPU count 1..8 [6] : 6

-----------------------------------------------------------------------------
-- Specify RPM QA Test Program file name ?
-----------------------------------------------------------------------------
  The QA test program is the program used for the RPM QA test. The default QA
  test program is called X6CORE which is a copy of $SYSTEM.SYSTEM.SEEVIEW.
  This is on all NonStop systems since it is safe and secure. This program
  will be automatically copied if you specify a simple name up to 8 character
  long, such as X86CORE. This allows you to indicate a different name. If you
  don't want to use another program name, press Enter below to use the default
  program file name.

Enter RPM QA Object file name [X6CORE] : X6CORE

----------------------------------- RPM QA ----------------------------------
RPM Test = SAW
RPM Cpu# = 3
RPM Ipus = 6
RPM Prog = $GUEST.DRIVE.X6CORE
Run IQ0
Run IQ1
Run IQ2
Run IQ3
Run IQ4
Run IQ5
ipucom -pname $IQ0 -cpu 3 0
In processor 3 primary process $iq0 has been set on IPU 0
ipucom -pname $IQ1 -cpu 3 1
In processor 3 primary process $iq1 has been set on IPU 1
ipucom -pname $IQ2 -cpu 3 2
In processor 3 primary process $iq2 has been set on IPU 2
ipucom -pname $IQ3 -cpu 3 3
In processor 3 primary process $iq3 has been set on IPU 3
ipucom -pname $IQ4 -cpu 3 4
In processor 3 primary process $iq4 has been set on IPU 4
ipucom -pname $IQ5 -cpu 3 5
In processor 3 primary process $iq5 has been set on IPU 5

CONFIG | SAVE | USE | INSTALL | RUN | EXIT > STATUS
Taskid     Cpu,Pin Name   CachePg  Timeout Seeview - T6965L01 - (15FEB15)
---------- ------- ------ -------- ------- ------------------------------
TACL       ~ 3,190 $X7SR    2/16    60,15  $SYSTEM.SYSTEM.TACL
IQ0          3,81  $IQ0     0/16    60,15  $GUEST.DRIVE.X6CORE
IQ1          3,111 $IQ1     0/16    60,15  $GUEST.DRIVE.X6CORE
IQ2          3,231 $IQ2     0/16    60,15  $GUEST.DRIVE.X6CORE
IQ3          3,226 $IQ3     0/16    60,15  $GUEST.DRIVE.X6CORE
IQ4          3,11  $IQ4     0/16    60,15  $GUEST.DRIVE.X6CORE
IQ5          3,93  $IQ5     0/16    60,15  $GUEST.DRIVE.X6CORE
IPUCOM      stopped         1/5     60,15  $SYSTEM.SYSTEM.IPUCOM
*            3,124 $X7S5             0.02  $SYSTEM.SYSTEM.Seeview
--------------------------------------------------------------------------
Tasks: 24/128 Cache: 364/2084
Symbols: 33/256 Procs: 43/512 Pooluse: 0/24 (0/0)
Sysmsgs: 87 Umsgs: 137  Started: 9/5/18 3:24 PM
User : GUEST.USER 128,1 Current: 9/5/18 3:24 PM
--------------------------------------------------------------------------

B.2 RPM Wizard - SAW Training Analysis

Once you have setup SAW training as shown in the example above (while the example is running) then
in a separate TACL window, RUN RPM65 or RUN RPMVT as shown below...

TACL > RPM65 ZOOM \ROME IPU GRAPH BUSYPB 1 -- Your RPM display should be similar to Figure B above.

This is the final RPM Wizard QA exercise:

RPM Wizard - QA SAW << This exercise

RPM Wizard - QA RIP   >> 2nd exercise

RPM Wizard - QA REV  >> 3rd exercise

Questions/comments - support
Lastmod: June 4, 2019