Lower down trend threshold (revert change in previous PR) and fix typos. (#3267)

* fix typo

* lower CTR threshold
This commit is contained in:
Raja Subramanian
2024-12-19 00:03:56 +05:30
committed by GitHub
parent b6e99e249b
commit 86628de6e9
@@ -173,7 +173,7 @@ func (q *qdMeasurement) ProcessPacketGroup(pg *packetGroup, groupIdx int) {
q.numGroups++
if q.minGroupIdx == 0 || q.minGroupIdx > groupIdx {
groupIdx = q.minGroupIdx
q.minGroupIdx = groupIdx
}
q.maxGroupIdx = max(q.maxGroupIdx, groupIdx)
@@ -269,7 +269,7 @@ func (l *lossMeasurement) ProcessPacketGroup(pg *packetGroup, groupIdx int) {
l.numGroups++
if l.minGroupIdx == 0 || l.minGroupIdx > groupIdx {
groupIdx = l.minGroupIdx
l.minGroupIdx = groupIdx
}
l.maxGroupIdx = max(l.maxGroupIdx, groupIdx)
@@ -345,7 +345,7 @@ var (
defaultTrendDetectorConfigCongestedCTR = ccutils.TrendDetectorConfig{
RequiredSamples: 4,
RequiredSamplesMin: 2,
DownwardTrendThreshold: -0.7,
DownwardTrendThreshold: -0.5,
DownwardTrendMaxWait: 2 * time.Second,
CollapseThreshold: 500 * time.Millisecond,
ValidityWindow: 10 * time.Second,