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:

  1. Go to Parasoft > Preferences to open the Preferences panel.
  2. Choose Parasoft > Parallel Processing.
  3. Modify settings as needed. Options are described below.
OptionDescription
Mode

Determines which of the following modes is active: 

  • Auto: Allows Parasoft Test to control parallel processing settings.
  • Manual: Allows you to manually configure parallel processing settings to suit your specific needs.
  • Disabled: Configures Parasoft Test to use only one of the available CPUs.

This can also be specified with the settings option  parallel.mode=Manual|Auto|Disabled

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  parallel.max_threads=<number>

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  parallel.free_memory_limit=<percentage>

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.no_memory_limit=true|false

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
  • No labels