Skip to main content

MIN_SAMPLES

Constant MIN_SAMPLES 

Source
const MIN_SAMPLES: u32 = 8;
Expand description

The fewest samples, and the shortest time they must span within REORDER_MEMORY, before the gap wait is sized by them rather than kept at max_wait.

A window that trusts its first samples is sized by whatever paths those happened to take. On a cluster, the Entry’s first echo frames assembled within 24–66 ms while frames a second later took 330 ms: the wait fell to its floor at once, and frames whose last segments came later than it were given up, then their segments dropped as already seen, 15 % of a warm-up lost. Five seconds span the paths a Session’s first refreshes plan.