LSF Version 7.3 - Administering Platform LSF
Improving performance of mbatchd query requests on UNIX
670 Administering Platform LSF
When you define this parameter, LSF runs mbatchd child query processes only on
the specified 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.
1 Identify the CPUs on the master host that will run mbatchd child query
processes.
❖ Linux: To obtain a list of valid CPUs, run the command
/proc/cpuinfo
❖ Solaris: To obtain a list of valid CPUs, run the command
psrinfo
2 In the file lsb.params, define the parameter MBD_QUERY_CPUS.
For example, if you specify:
MBD_QUERY_CPUS=1 2
the mbatchd child query processes will run only on CPU numbers 1 and 2 on
the master host.
You can specify CPU affinity only for master hosts that use one of the following
operating systems:
◆ Linux 2.6 or higher
◆ Solaris 8 or higher
If failover to a master host candidate occurs, LSF maintains the hard CPU
affinity, provided that the master host candidate has the same CPU
configuration as the original master host. If the configuration differs, LSF
ignores the CPU list and reverts to default behavior.
3 Verify that the
mbatchd child query processes are bound to the correct CPUs
on the master host.
a Start up a query process by running a query command such as
bjobs.
b Check to see that the query process is bound to the correct CPU.
◆ Linux: Run the command taskset -p <pid>
◆ Solaris: Run the command ps -AP
Configure mbatchd to push new job information to child mbatchd
Prerequisites: LSB_QUERY_PORT must be defined. in lsf.conf.
If you have enabled multithreaded mbatchd support, the bjobs command may not
display up-to-date information if two consecutive query commands are issued
before a child mbatchd expires because child mbatchd job information is not
updated. Use NEWJOB_REFRESH=Y in
lsb.params to enable a child mbatchd to
get up to date new job information from the parent
mbatchd.