LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 667
Tuning the Cluster
Improving performance of mbatchd query requests on UNIX
You can i mprove mbatchd query performance on UNIX systems using the
following methods:
Multithreading—On UNIX platforms that support thread programming, you
can change default
mbatchd behavior to use multithreading and increase
performance of query requests when you use the
bjobs command.
Multithreading is beneficial for busy clusters with many jobs and frequent
query requests. This may indirectly increase overall
mbatchd performance.
Hard CPU affinity—You can specify the master host CPUs on which mbatchd
child query processes can run. This improves
mbatchd scheduling and dispatch
performance by binding query processes to specific CPUs so that higher
priority
mbatchd processes can run more efficiently.
In this section
How mbatchd works without multithreading on page 667
Configure mbatchd to use multithreading on page 667
Set a query-dedicated port for mbatchd on page 669
Specify an expiry time for child mbatchds (optional) on page 669
Specify hard CPU affinity on page 669
Configure mbatchd to push new job information to child mbatchd on page 670
How mbatchd works without multithreading
Ports By default, mbatchd uses the port defined by the parameter LSB_MBD_PORT in
lsf.conf or looks into the system services database for port numbers to
communicate with LIM and job request commands.
It uses this port number to receive query requests from clients.
Servicing requests For every query request received, mbatchd forks a child mbatchd to service the
request. Each child
mbatchd processes the request and then exits.
Configure mbatchd to use multithreading
When mbatchd has a dedicated port specified by the parameter
LSB_QUERY_PORT in
lsf.conf, it forks a child mbatchd which in turn creates
threads to process query requests.
As soon as
mbatchd has forked a child mbatchd, the child mbatchd takes over and
listens on the port to process more query requests. For each query request, the child
mbatchd creates a thread to process it.
The child
mbatchd continues to listen to the port number specified by
LSB_QUERY_PORT and creates threads to service requests until the job status
changes, a new job is submitted, or until the time specified in
MBD_REFRESH_TIME in
lsb.params has passed.
Specify a time interval, in seconds, when
mbatchd will fork a new child mbatchd to
service query requests to keep information sent back to clients updated. A child
mbatchd processes query requests creating threads.