LSF_DAEMONS_CPUS

Syntax

LSF_DAEMONS_CPUS="mbatchd_cpu_list:mbschd_cpu_list"

mbatchd_cpu_list

Defines the list of management host CPUS where the mbatchd daemon processes can run (hard CPU affinity). Format the list as a white-space delimited list of CPU numbers.

mbschd_cpu_list

Defines the list of management host CPUS where the mbschd daemon processes can run. Format the list as a white-space delimited list of CPU numbers.

Description

Defining LSF_INTELLIGENT_CPU_BIND=Y in the lsf.conf file overrides the value of this parameter. Use LSF_INTELLIGENT_CPU_BIND=Y instead of this parameter to enable LSF to bind a defined set of LSF daemons to CPUs.

This parameter is only maintained for backwards compatibility.

By default, mbatchd and mbschd can run on any CPUs. If LSF_DAEMONS_CPUS is set, they only run on a specified list of CPUs. An empty list means LSF daemons can run on any CPUs. Use spaces to separate multiple CPUs.

The operating system can assign other processes to run on the same CPU; however, if utilization of the bound CPU is lower than utilization of the unbound CPUs.

Related parameters

To improve scheduling and dispatch performance of all LSF daemons, you should use LSF_DAEMONS_CPUS together with EGO_DAEMONS_CPUS (in ego.conf or lsf.conf), which controls LIM CPU allocation, and MBD_QUERY_CPUS, which binds mbactchd query processes to specific CPUs so that higher priority daemon processes can run more efficiently. To get best performance, CPU allocation for all four daemons should be assigned their own CPUs. For example, on a 4 CPU SMP host, the following configuration gives the best performance:
EGO_DAEMONS_CPUS=0 LSF_DAEMONS_CPUS=1:2 MBD_QUERY_CPUS=3

Examples

If you specify
LSF_DAEMONS_CPUS="1:2"

the mbatchd processes run only on CPU number 1 on the management host, and mbschd run on only on CPU number 2.

If you specify
LSF_DAEMONS_CPUS="1 2:1 2" 

both mbatchd and mbschd run CPU 1 and CPU 2.

Important

You can specify CPU affinity only for management hosts that use one of the following operating systems:
  • Linux 2.6 or higher
  • Solaris 10 or higher

EGO parameter

LSF_DAEMONS_CPUS=lim_cpu_list: run the EGO LIM daemon on the specified CPUs.

Default

Not defined

See also

MBD_QUERY_CPUS in lsb.params