# NumParallel

The maximum number of CPU threads to use for analysis. In most cases this specifies the number of video frames to analyze concurrently.

As long as your server has sufficient resources, increasing the value of this parameter allows Media Server to analyze a greater number of frames in a given time. The result of this depends on the value you have set for IngestRate:

- If you are processing video with `IngestRate=1`, Media Server is more likely to achieve the sample intervals that you have requested and your analysis tasks will skip fewer frames.
- If you are processing video with `IngestRate=0`, Media Server can complete processing the video in less time.

Do not increase the value of this parameter unless your server has spare resources (CPU cores), because doing so will significantly decrease performance.

You can use this parameter when processing images and documents. In this case, it specifies the number of pages to process at the same time. If the image or document has only one page, setting this parameter has no effect.

Type: | Integer
Default: | 2
Required: | No
Configuration Section: | TaskName
Example: | To allow OCR to use up to four threads: `NumParallel=4`
See Also: | IngestRate SampleInterval

_FT_HTML5_bannerTitle.htm