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 (e.g., static analysis or report generation). This allows you to optimize processing based on your priorities.
For instance, assume you have 4 central processing units (CPUs), but only 2 of them can be used by Parasoft Test (the others are intended for other processes). To prevent Parasoft Test from overloading all 4 CPUs, you can configure Parasoft Test to use a maximum of 2 parallel threads.
Now assume that with another setup, you have 8 CPUs, and only 2 of them are used by other processes. In this case, you could configure Parasoft Test to use a maximum of 6 parallel threads in order to optimize Parasoft Test’s processing.
Configuring Parallel Processing Settings
To configure parallel processing settings:
- Choose Parasoft> Preferences to open the Preferences panel.
- Choose Parallel Processing on the left.
- 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 localsettings 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 localsettings 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 localsettings 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 localsettings option |
Parallel processing settings can be specified using the localsettings options provided above. For more details on localsettings, see Configuring Localsettings.
Here is an example of parallel processing settings in localsettings file:
parallel.mode=Manual parallel.max_threads=4 parallel.free_memory_limit=25 parallel.no_memory_limit=false