IBM InfoSphere Streams Version 4.1.1
Setting the degree of parallelism
You can specify the number of channels for user-defined parallelism within the 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.
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
If you chose to specify the degree of user-defined parallelism
at submission time, you must specify the parameter value when you
submit the job. For example:
streamtool submitjob -P parWidth=6 Sample.sab