Number of simulation threads used to implement SRPC. When the Core runs
out of free threads, it will start using less optimal technique to implement
SRPC - stack recursion. The largest disadvantage of stack recursion is its
last-in-first-out semantics; no SRPC request serviced
by the recursing thread can be finished before the most recent one. If
num_threads is 1, the SRPC request can be blocked indefinitely
until the Core runs out of stack (see min_stack_size above),
if too many SRPC requests are made in such environment. Note that this problem
can't happen if num_threads is at least 2.
Value of num_threads is ignored if the node has been
started with the single_threaded_srpc flag set to
true
(see the Massiv Core Reference Guide, documentation of the
Massiv::System::StartUpInfo).
|