max_number_of_threads - ChairImpSec/PROLEAD GitHub Wiki
Type
String
Default
1
Description
Specifies the maximum number of threads that PROLEAD can utilize for parallel processing. Users can configure the number of threads either by specifying an exact number or by selecting a relative proportion based on the total number of threads available on the system. The following options are supported:
all
: Use all available threadshalf
: Use half of the available threadsthird
: Use one third of the available threadsquarter
: Use one fourth of the available threads
Impact
Increasing the thread count may improve performance on systems with multiple cores. However, this can lead to higher memory usage and potential contention for CPU resources.
Examples
Example 1: Relative Number of Threads
"performance": {
"max_number_of_threads": "half"
}
In this configuration, PROLEAD will utilize half of the total available threads on the system.
Example 2: Exact Number of Threads
"performance": {
"max_number_of_threads": "2"
}
Here, PROLEAD is configured to use exactly 2 threads for parallel processing.