Skip to main content

AfterDropProbe

Enum AfterDropProbe 

Source
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.

Trait Implementations§

Source§

impl Clone for AfterDropProbe

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for AfterDropProbe

Source§

impl Debug for AfterDropProbe

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for AfterDropProbe

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for AfterDropProbe

Source§

impl PartialEq for AfterDropProbe

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for AfterDropProbe

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.