Rejection ratio stuck after overload ends
The velocity-form proportional-integral-derivative (PID) controller drains the rejection ratio only while the error signal is negative. When admitted traffic stays close to capacity after overload ends, the error signal sits near zero and the controller applies no delta.
Symptoms
- Arrival rate dropped below capacity some time ago.
- ergw_adaptive_rejection_ratio is still positive and not decreasing.
- ergw_adaptive_inflight_current is below ergw_adaptive_inflight_limit, confirming capacity is free.
Possible causes
- The error signal is near zero because admitted traffic happens to match capacity. Without a negative error, the controller has nothing to drain against.
- The proportional gain
kpis set very low, so even a small negative error produces only a tiny delta per tick.
Solution
To drain the residual rejection ratio faster, temporarily raise the proportional gain:
Confirm capacity is actually free:
bashThe expected output shows
inflight_currentbelowinflight_limit. Ifinflight_currentis at the limit, the system is still at capacity and the rejection ratio is correct.Raise the proportional gain so the controller reacts more strongly to small negative errors:
bashWatch ergw_adaptive_rejection_ratio drop. Convergence usually takes a few seconds at the higher
kp.Restore the previous
kpvalue once the rejection ratio is back at zero. Leavingkphigh amplifies tick-over-tick counter noise during normal operation.bash
If you do not need fast recovery, no change is required: the controller does drain on its own, but slowly when the error is near zero.