Try up-allocation on neutral trend. (#3235)
* Try up-allocation on neutral trend. Some probes end up with neutral trend due to getting much estimates of same value. It is okay to try up-allocating in those cases. Otherwise, the stream allocator some times gets stuck and does not up-allocate at all as all probes end up neutral. Changing the name of the signal to `NotCongesting` to signify it is either neutral or clearing. * wait 5 RTT for probe to finalize * trend detector object encoder
This commit is contained in:
@@ -94,7 +94,7 @@ func (p ProbeSignalConfig) ProbeSignal(ppg *probePacketGroup) (ccutils.ProbeSign
|
||||
}
|
||||
|
||||
if pqd < p.DQRMaxDelay.Microseconds() {
|
||||
return ccutils.ProbeSignalClearing, ts.AcknowledgedBitrate()
|
||||
return ccutils.ProbeSignalNotCongesting, ts.AcknowledgedBitrate()
|
||||
}
|
||||
|
||||
return ccutils.ProbeSignalInconclusive, ts.AcknowledgedBitrate()
|
||||
@@ -521,7 +521,7 @@ func (c *congestionDetector) ProbeClusterFinalize() (ccutils.ProbeSignal, int64,
|
||||
)
|
||||
|
||||
probeSignal, estimatedAvailableChannelCapacity := c.params.Config.ProbeSignal.ProbeSignal(c.probePacketGroup)
|
||||
if probeSignal == ccutils.ProbeSignalClearing && estimatedAvailableChannelCapacity > c.estimatedAvailableChannelCapacity {
|
||||
if probeSignal == ccutils.ProbeSignalNotCongesting && estimatedAvailableChannelCapacity > c.estimatedAvailableChannelCapacity {
|
||||
c.estimatedAvailableChannelCapacity = estimatedAvailableChannelCapacity
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,8 @@ var (
|
||||
MinPackets: 16384,
|
||||
MaxWindowDuration: time.Minute,
|
||||
},
|
||||
SettleWaitNumRTT: 10,
|
||||
|
||||
SettleWaitNumRTT: 5,
|
||||
SettleWaitMin: 500 * time.Millisecond,
|
||||
SettleWaitMax: 10 * time.Second,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user