LSF_INTELLIGENT_CPU_BIND

Enables LSF to bind a defined set of LSF daemons to CPUs.

Syntax

LSF_INTELLIGENT_CPU_BIND=Y|y|N|n

Description

If this parameter is set to Y or y, LSF automatically detects the topology of each management host and management candidate, binds the LSF daemons according to the automatic binding policy, and generates a CPU binding configuration file for that host. These configuration files are in the LSF_ENVDIR/cpu_binding directory and the file names are in the format of host_name.cluster_name and are in the LSF_ENVDIR/cpu_binding directory. LSF binds LSF daemons to CPU cores according to this CPU binding configuration file.

If the CPU binding configuration file no longer exists for the host, LIM automatically detects the topology of that host again and binds the LSF daemons according to the automatic binding policy.

The CPU binding configuration file specifies the CPU binding for the following LSF daemons:

  • MBATCHD_MAIN: The main mbatchd daemon thread.
  • MBATCHD_ESTDRV: The mbatchd daemon thread for the simulation-based job start time estimator, if enabled.
  • MBATCHD_CONN: The mbatchd daemon thread for the long connection process.
  • MBATCHD_LOG: The thread that is shared between the switch log and the elogd daemon.
  • LIM_MAIN: The main LIM thread.
  • LIM_UDP_THREAD: LIM requests that use the UDP protocol.
  • MBSCHD_MAIN: The main mbschd daemon thread.
  • MBSCHD_ESTIMATOR: The mbschd daemon thread for the simulation-based job start time estimator, if enabled.

For the topology and CPU list on the host, run the lim -T command.

If the CPU binding configuration file is changed, you must restart the LSF daemons by running the following commands in the following order to apply the new CPU binding settings:
  1. bctrld restart lim
  2. bctrld restart sbd
  3. badmin mbdrestart
Note: CPU binding configuration files do not support comments. LSF removes any comments in the CPU binding configuration files after LIM restarts.

The LSF_INTELLIGENT_CPU_BIND parameter takes precedence over other CPU binding parameters. If you enable LSF_INTELLIGENT_CPU_BIND, LSF ignores the following parameters:

  • EGO_DAEMONS_CPUS
  • ESTIMATOR_CPUS
  • LSF_DAEMONS_CPUS
  • MBD_QUERY_CPUS
Note: This parameter is ignored if the management and management candidate hosts have fewer than eight CPU cores.

Default

N.