$CPU
When running a Uniface application or server process on a multi-CPU Solaris system, specify the CPU to which it should be bound.
$CPU { =
} ProcessorNumber |
0
Arguments
- ProcessorNumber—number of the processor to bind to, from
1
to the number of CPUs on the system; maximum is255
. 0
—if there is already a binding in place, removes it; equivalent to not specifying $CPU at all.
Defaults
Assignment file: | Any Uniface process or application assignment file |
Section: | [SETTINGS] |
Default value: | None |
Description
On a Solaris system with multiple CPUs, you can bind a Uniface application or process to
one CPU by setting $CPU
in the assignment file.
It is most commonly used in the urouter.asn file to bind the Uniface Router (urouter).
If ProcessorNumber is larger than the number of CPUs in the system, the
setting is ignored. Specifying $CPU=0
causes unbinding (if a binding was in effect
to start with) to ensure that Uniface Server processes (userver) do not
inherit a CPU binding from urouter.