@@ -705,12 +705,13 @@ type LimitedPriorityLevelConfiguration struct {
705
705
706
706
Prior to the introduction of borrowing, the ` assuredConcurrencyShares `
707
707
field had two meanings that amounted to the same thing: the total
708
- shares of the level, and the non-lendable shares of the level.
709
- While it is somewhat unnatural to keep the meaning of "total shares"
710
- for a field named "assured" shares, rolling out the new behavior into
708
+ shares of the level, and the non-lendable shares of the level. While
709
+ it is somewhat unnatural to keep the meaning of "total shares" for a
710
+ field named "assured" shares, rolling out the new behavior into
711
711
existing systems will be more continuous if we keep the meaning of
712
- "total shares" for the existing field. In the next version we should
713
- rename the ` AssuredConcurrencyShares ` to ` NominalConcurrencyShares ` .
712
+ "total shares" for the existing field. In ` v1beta3 `
713
+ ` AssuredConcurrencyShares ` has been renamed to
714
+ ` NominalConcurrencyShares ` .
714
715
715
716
The limits on borrowing are two-sided: a given priority level has a
716
717
limit on how much it may borrow and a limit on how much may be
@@ -787,9 +788,9 @@ immediately tracks EnvelopeSeatDemand when it exceeds
787
788
SmoothSeatDemand. The rule for updating priority level ` i ` 's
788
789
SmoothSeatDemand at the end of an adjustment period is
789
790
`SmoothSeatDemand(i) := max( EnvelopeSeatDemand(i),
790
- A* SmoothSeatDemand(i) + (1-A)* EnvelopeSeatDemand(i) )`. The command
791
- line flag ` --seat-demand-history-fraction ` with a default value of 0.9
792
- configures A .
791
+ A* SmoothSeatDemand(i) + (1-A)* EnvelopeSeatDemand(i) )`. The value of
792
+ ` A ` is fixed at 0.977 in the code, which means that the half-life of
793
+ the exponential decay is about 5 minutes .
793
794
794
795
Adjustment is also done on configuration change, when a priority level
795
796
is introduced or removed or its NominalCL, LendableCL, or BorrowingCL
0 commit comments