Showing Non-Parallel Nature of a Serial Node
You can use the Scalability analysis plugin to identify nodes that have no parallelism or to tell when an unlimited node is running serially.
For this example, use a
source_node
and a
function_node
connected to it. Set the following:
- Select thefunction_node.
- in theNode Concurrencyfield, enter1orserial. This makes the node run serially.
- In theNode Weightfield, enter1.
- Select thesource_node.
- In theNode Weightfield, enter1e-6.
- Go to the.
- Set the concurrency specification to1,2,4,8and clickOK.
- Run the scalability analysis.
You will get the following results:

As expected, time is 8s, regardless of the number of threads used.
You can get the same results if you set the weight of the
source_node
to 1s and the weight to the
function_node
to a relatively negligible value. This is because a
source_node
executes its body serially.