5.20 CPUPRIO (CPU
thread process priority)

5.20.1 Function

CPUPRIO specifies the priority of the CPU thread. See section

5.82 “Process and Thread Priorities” for
details. Default is a nice value of 15, which means a low priority such that I/O can be scheduled and com-
pleted in favour of CPU cycles. On multi-CPU systems a real CPU can be “dedicated” to Hercules by
giving the CPU-thread a very high dispatching priority (-20).

Caution: CPUPRIO should not have a higher dispatching priority than the TOD clock and timer thread.

5.20.2 Syntax

Descriptive

nn

Diagram

¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




nn

5.20.3 Parameter

15

Specifies a CPU thread prority of 15. This is the default

nn

This value specifies the priority for the CPU thread. For details on the priority
values see section

5.82 (“Process and Thread Priorities”). The default is 15.

5.20.4 Examples

Example 1:

Give the CPU-thread a very high dispatching priority of -20.

CPUPRIO -20

5.21 CPUSERIAL (CPU serial number)

5.21.1 Function

CPUSERIAL specifies the 6 hexadecimal digit CPU serial number stored by the STIDP instruction.

5.21.2 Syntax

Descriptive

serial

Diagram

Êʬ¬¬ CPU ¬¬¬§¬¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




serial

5.21.3 Parameter

serial

Any valid 6 digit hexadecimal CPU serial number. In BASIC mode, the high-order
digit may be replaced with the processor number when MAXCPU is greater than
one. In LPAR mode, the two high-order digits are replaced with either the LPAR
number or the CPU number and LPAR number with the full serial number available
via the STSI instruction. The default serial number is ‘000001’.

5.21.4 Examples

Example 1:

Set the CPU serial number to 001963.

CPUSERIAL 001963

Previous Page Next Page