LSF Version 7.3 - Administering Platform LSF
Improving performance of mbatchd query requests on UNIX
668 Administering Platform LSF
MBD_REFRESH_TIME has the following syntax:
MBD_REFRESH_TIME=seconds [min_refresh_time]
where min_refresh_time defines the minimum time (in seconds) that the child
mbatchd will stay to handle queries. The valid range is 0 - 300. The default is 5
seconds.
◆ If MBD_REFRESH_TIME is < min_refresh_time, the child mbatchd exits at
MBD_REFRESH_TIME even if the job changes status or a new job is submitted
before MBD_REFRESH_TIME expires.
◆ If MBD_REFRESH_TIME > min_refresh_time the child mbatchd exits at
min_refresh_time if a job changes status or a new job is submitted before the
min_refresh_time, or a job exits after the min_refresh_time when a job changes
status or a new job is submitted.
◆ If MBD_REFRESH_TIME > min_refresh_time and no job changes status or a
new job is submitted, the child
mbatchd exits at MBD_REFRESH_TIME
The default for min_refresh_time is 10 seconds.
If you use the
bjobs command and do not get up-to-date information, you may
want to decrease the value of MBD_REFRESH_TIME or MIN_REFRESH_TIME
in
lsb.params to make it likely that successive job queries could get the
newly-submitted job information.
NOTE: Lowering the value of MBD_REFRESH_TIME or MIN_REFRESH_TIME increases the load on
mbatchd and might negatively affect performance.
1 Specify a query-dedicated port for the mbatchd by setting LSB_QUERY_PORT
in
lsf.conf.
See Set a query-dedicated port for mbatchd on page 669.
2 Optional: Set an interval of time to indicate when a new child
mbatchd is to be
forked by setting MBD_REFRESH_TIME in
lsb.params. The default value of
MBD_REFRESH_TIME is 5 seconds, and valid values are 0-300 seconds.
See Specify an expiry time for child mbatchds (optional) on page 669.
3 Optional: Use NEWJOB_REFRESH=Y in
lsb.params to enable a child
mbatchd to get up to date new job information from the parent mbatchd.
See Configure mbatchd to push new job information to child mbatchd on page
670.