This topic explains how to configure parallel processing settings for Parasoft Test.
Sections include:
Parallel Processing Overview
You can control the number of parallel threads that process a single job (for example, static analysis or report generation). This allows you to optimize processing based on your priorities.
For instance, assume you have four central processing units (CPUs), but only two of them can be used by Parasoft Test (the others are intended for other processes). To prevent Parasoft Test from overloading all four CPUs, you can configure Parasoft Test to use a maximum of two parallel threads.
Now assume that with another setup, you have eight CPUs, and only two of them are used by other processes. In this case, you could configure Parasoft Test to use a maximum of six parallel threads in order to optimize Parasoft Test’s processing.
Configuring Parallel Processing Settings
To configure parallel processing settings:
- Go to Parasoft > Preferences to open the Preferences panel.
- Choose Parasoft > Parallel Processing.
- Modify settings as needed. Options are described below.
Option | Description |
---|---|
Mode | Determines which of the following modes is active:
This can also be specified with the settings option |
Maximum number of parallel threads | Available in Manual mode only Specifies the maximum number of parallel threads that can be executed simultaneously. The actual number of parallel threads is determined based on the number of CPUs, available memory, and license settings. This can also be specified with the settings option |
Free memory limit | Available in Manual mode only Specifies the amount of memory that should be kept free in low memory conditions (expressed as a percentage of the total memory available for the application). This is used to ensure that free memory is available for other processes. This can also be specified with the settings option |
No limit | Available in Manual mode only Indicates that you do not want to place any restrictions (beyond existing system limitations) on the memory available to Parasoft Test. This can also be specified with the settings option |
Parallel processing settings can be specified using the settings options provided above. For more details on settings, see Configuring Settings.
Here is an example of parallel processing settings in settings file:
parallel.mode=Manual parallel.max_threads=4 parallel.free_memory_limit=25 parallel.no_memory_limit=false