HP 3000 Manuals

Altering Execution Priority [ HP Resource Sharing for MPE/iX ] MPE/iX 5.0 Documentation


HP Resource Sharing for MPE/iX

Altering Execution Priority 

MPE is shipped with three user scheduling queues, CS, DS, and ES. The
default configuration for these queues is as follows:

-----------------------------------------------------------------------------------------------------
|                   |                                       |                                       |
|       Queue       |              Priorities               |                Quantum                |
|                   |                                       |                                       |
-----------------------------------------------------------------------------------------------------
|                   |                   |                   |                   |                   |
|                   |       Base        |       Limit       |      Minimum      |      Maximum      |
|                   |                   |                   |                   |                   |
| CS                | 152               | 200               | 0                 | 300               |
|                   |                   |                   |                   |                   |
| DS                | 202               | 238               | 1000              | 1000              |
|                   |                   |                   |                   |                   |
| ES                | 240               | 253               | 1000              | 1000              |
|                   |                   |                   |                   |                   |
-----------------------------------------------------------------------------------------------------

The ES queue is the background queue.  On systems where there is no
background activity occurring, the ES queue can be tuned so that it is a
subset of the CS queue.  That is, the priorities of the ES queue lie
inside the priorities of the CS queue as follows: 

-----------------------------------------------------------------------------------------------------
|                   |                                       |                                       |
|       Queue       |              Priorities               |                Quantum                |
|                   |                                       |                                       |
-----------------------------------------------------------------------------------------------------
|                   |                   |                   |                   |                   |
|                   |       Base        |       Limit       |      Minimum      |      Maximum      |
|                   |                   |                   |                   |                   |
| CS                | 152               | 200               | 0                 | 300               |
|                   |                   |                   |                   |                   |
| DS                | 202               | 238               | 1000              | 1000              |
|                   |                   |                   |                   |                   |
| ES                | 175               | 185               | 300               | 300               |
|                   |                   |                   |                   |                   |
-----------------------------------------------------------------------------------------------------

By tuning Resource Sharing to run in the ES queue this way, light online
terminal users will have precedence in access to system resources over
the PDSERVER program.  At the same time, heavy online users (compiles,
query searches, and so on) will have to wait for PDSERVER to complete.

You may need to modify your execution priority often to meet your ongoing
performance requirements.  For instance:

   *   If the ES queue is already in use, tuning of the queue may not
       accomplish an overlap of the CS and ES queue as desired.

   *   Any time a START NORECOVERY of the system is needed, the tuning
       information will be lost and the ES queue must be retuned.
       Therefore, this tuning configuration for the ES queue should be
       included as part of the System Startup State Configurator
       (SYSSTART.PUB.SYS file).

       Resource Sharing provides the ability to execute the print disc
       server (PDSERVER) in any of the three user scheduling queues.  The
       configuration for this is done in the Resource Manager Utility
       (RESMGR) when you configure the logon string accounting structure. 

       Altering the executing priority can make Resource Sharing more
       compatible with online transaction processing applications.

       To alter the execution priority in the scheduling queue:.   

   *   Run RESMGR.

       The following steps show this task using function labels.  The
       command sequence is shown at the end of the steps.

   *   Choose  Config f3.

       The CONFIG prompt appears.

   *   Choose the  OtherKeysf1.

   *   Choose  Logonf2.

   *   At the LOGON> prompt, enter:

            RESHHR,user[/password],account[/password],group[/password];PRI=?? 

       The ??  can be CS, DS, or ES.

       _________________________________________________________________ 

       NOTE  The PRI= value must not exceed the MAXPRI value on the
             PCUSER.SYS user.  MAXPRI is changed with the MPE command
             ALTUSER. Use the LISTUSER command to display the MAXPRI
             value.

       _________________________________________________________________ 

   *   Exit the CONFIG subsystem, by choosing:

             RESMGR MAINf8 
             EXITf8 

To use commands to change the LOGON, enter

     CONFIG
     LOGON

Then enter your logon string as described in step 5.  Enter the EXIT
command twice to return to the MPE prompt.



MPE/iX 5.0 Documentation