Skip to content

Commit 7556fd1

Browse files
authored
Merge pull request kubernetes#3664 from MikeSpreitzer/initialize-to-zero
KEP-1040: Revise initialization of SmoothSeatDemand
2 parents 5bf32bb + 0ff0ef8 commit 7556fd1

File tree

1 file changed

+5
-3
lines changed
  • keps/sig-api-machinery/1040-priority-and-fairness

1 file changed

+5
-3
lines changed

keps/sig-api-machinery/1040-priority-and-fairness/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -792,9 +792,11 @@ is introduced or removed or its NominalCL, LendableCL, or BorrowingCL
792792
changes. At such a time, the current adjustment period comes to an
793793
early end and the regular adjustment logic runs; the adjustment timer
794794
is reset to next fire 10 seconds later. For a newly introduced
795-
priority level, we set HighSeatDemand, AvgSeatDemand, and
796-
SmoothSeatDemand to NominalCL-LendableSD/2 and StDevSeatDemand to
797-
zero.
795+
priority level, we set HighSeatDemand, AvgSeatDemand,
796+
SmoothSeatDemand, and StDevSeatDemand to zero. Initializing
797+
SmoothSeatDemand to a higher value would risk creating an illusion of
798+
pressure that decays only slowly; initializing to zero is safe because
799+
the arrival of actual pressure gets a quick response.
798800

799801
For adjusting the CurrentCL values, each non-exempt priority level `i`
800802
has a lower bound (`MinCurrentCL(i)`) for the new value. It is simply

0 commit comments

Comments
 (0)