Commit 02bc246
committed
CA-189076: Make sure perfmon wait at least the defined interval
With the current implementation, perfmon's actual idle intervals are between
(defined_value - some_dither) and (defined_value + some_dither). It means that
there are close to 50% cases where the actual idle/waiting periods are smaller
than the defined value.
This triggered an edge cases on alarm generation. When the alarm inhibite
period is the same as perfmon's defined interval (i.e. the 5 min minimum),
there are good chances that many alarms would be deferred until the next
iteration as the inhibit period since last alarm has not fully expired (even
though quite close). In cases where the same alarm should be generated
continuously (at each iteration), the proportion of missing alarms would appear
to be very high.
This change makes sure that the actual waiting interval of perfmon covers at
least the defined value.
Signed-off-by: Zheng Li <[email protected]>1 parent 31d8ea9 commit 02bc246
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1154 | 1154 | | |
1155 | 1155 | | |
1156 | 1156 | | |
1157 | | - | |
1158 | | - | |
| 1157 | + | |
| 1158 | + | |
1159 | 1159 | | |
1160 | 1160 | | |
1161 | 1161 | | |
| |||
0 commit comments