Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2022.1

This topic explains how to configure parallel processing settings for Parasoft Test.

Sections include:

Table of Contents
maxLevel1

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:

  1. Choose Parasoft> Preferences to open the Preferences panel.
  2. Choose Parallel Processing on the left.
  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:

Code Block
parallel.mode=Manual 
parallel.max_threads=4 
parallel.free_memory_limit=25 
parallel.no_memory_limit=false