pub enum AfterDropProbe {
Repeated,
Libwebrtc,
Off,
}Expand description
What is probed for after a large drop of the target
(ProbeController::with_after_drop_probe).
Variants§
Repeated
The engine’s form, and the default. A drop of the target below two thirds of its high of the last two seconds is followed, from a second on and once a second for five seconds, by a cluster at 85% of that high while the target is still below it, whether or not the sender is application limited.
No specification says how to probe after a drop (RFC 8836 section 2, 1f, asks only
that a flow regain its share quickly), so the default is the form the capacity
instrument measured best (tests/capacity_instrument.rs; the default chain, a
2.5 Mbit/s path that drops to 300 kbit/s for 20 s; 1000 calls in each of the two
reference cells and 200 in six others, each form against this one by the merge-point
rule of docs/capacity-instrument.md). Without a probe (Off) and with
libwebrtc’s (Libwebrtc, which never fires for a sender that
keeps up with its target, so the two measure alike) seven figures are worse: with
both directions limited the oldest picture is 3.07 s against 2.64 s, with 5% of the
feedback lost the rate is not back within 20 s in 30 (24) of 200 calls against 2, and
the target 15 to 25 s after the limit is 1205 against 1278 kbit/s. Asking for the
highest rate of the last minute instead of the last drop’s own high (the rate before
the limit, not the peak of the controller’s sawtooth under it) makes fifteen figures
worse (audio packets lost 27 -> 35 a call, behind a 1000 ms queue over 2 s without a
new picture in 33 of 200 calls against 6) and was not taken. What this form costs
against no probe: behind a 1000 ms queue 96 audio packets lost a call against 66, and
under a limit that lasts a minute 74 against 45.
Libwebrtc
libwebrtc’s form (ProbeController::RequestProbe, goog_cc probe_controller.cc): a
drop is one update of the estimate below two thirds of the one before it; one cluster
at 85% of the estimate before the drop, asked when the delay-based detector has
returned to normal after the drop (ProbeController::set_usage: under-use, then
normal), only while the sender is application limited or was within the last three
seconds, within five seconds of the drop, at most once in five seconds, and only when
95% of that rate is above the estimate.
Off
No probe after a drop: the climb back is the delay-based controller’s.