Specifies the number of threads to use when analyzing the data. For desktops with multiple cores, you can increase throughput by specifying the number of cores you wish to utilize during the analysis. For cluster systems that distribute threads across nodes, it is recommended to match this parameter to the number of nodes you are using to optimize performance.
New for versions 2.0.0 and above. You can specify a value of 0 to automatically match the number of threads to the number of processing cores on the computer. Additionally, negative numbers can be used to specify threads equal to all but that number of cores. This is convenient to, for example, request threads equal to all but one core, no matter how many cores are available, leaving a core available to process background tasks and other active applications.
1.0 - present
To set a specific number of threads:
threads = 2
To set the number of threads equal to the number of cores on the system:
threads = 0
To reserve a core by setting the threads to all but one of the cores on the system:
threads = -1