CPU_PEAK_SAMPLE_DURATION

Defines the duration of the sample CPU time for running jobs.

Syntax

CPU_PEAK_SAMPLE_DURATION=seconds

Description

Defines the duration of the sample CPU time for running jobs. LSF uses the accumulated CPU time during the sample duration to calculate the CPU peak usage.

For parallel jobs, LSF periodically collects CPU usage information on each execution hosts, and the period is different for each different parallel size of running jobs. Collecting periodically causes an incorrect calculation of the CPU peak value when you set the CPU_PEAK_SAMPLE_DURATION value that is not within the collection period. Therefore, for parallel jobs, LSF calculates CPU peak value based on the collection period of the CPU usage information rather than the sample duration. However, LSF updates the CPU peak in the job properties the first time the jobs reaches the CPU_PEAK_SAMPLE_DURATION time after the CPU peak value is updated.
Tip: Given LSF collects the job CPU usage periodically according to the r15s value from the OS (operating system), where r15s is the exponentially averaged CPU run queue length over fifteen seconds. You can experience some delay in getting the real data. If you define a smaller value for CPU_PEAK_SAMPLE_DURATION, the CPU peak value has a higher chance to be slightly larger than actual values, which also impacts the CPU efficiency value. Defining a larger value for CPU_PEAK_SAMPLE_DURATION can reduce or ignore this impact.

Valid values

An integer in the range 1 - 2147483647.

Default

60 seconds