Setting the degree of parallelism
You can specify the number of channels for parallel regions within an application or as a submission time value.
About this task
The degree of parallelism, also known as the parallel width, is the number of channels in a parallel region. Higher degrees of parallelism can potentially result in higher performance, but will also use more resources. You should experiment with different parallel widths to find the amount that yields the best performance for your application.
You can set the degree of parallelism within Streams Studio. For example, in the SPL Graphical Editor, double-click the operator to open the edit view. Within that view, select the annotations tab and edit the parallel field. In the SPL editor, type @parallel and press Ctrl+space for assistance to complete the annotation.
Procedure
You can use any of the following methods to set the degree of parallelism:
What to do next
streamtool submitjob -P parWidth=6 Sample.sab