SCHEDULER_THREADS

Syntax

SCHEDULER_THREADS=integer

Description

Set the number of threads the scheduler uses to evaluate resource requirements.

Multithreaded resource evaluation is useful for large scale clusters with large numbers of hosts. The idea is to do resource evaluation for hosts concurrently. For example, there are 6,000 hosts in a cluster, so the scheduler may create six threads to do the evaluation concurrently. Each thread is in charge of 1,000 hosts.

To set an effective value for this parameter, consider the number of available CPUs on the master host, the number of hosts in the cluster, and the scheduling performance metrics. Set the number of threads between 1 and the number of cores in the master host. A value of 0 means that the scheduler does not create any threads to evaluate resource requirements.

Default

0