• Gerrit Renker's avatar
    dccp tfrc: Suppress unavoidable "below resolution" warning · 8b67ad12
    Gerrit Renker authored
    In the congestion-avoidance phase a decay of p towards 0 is natural once fewer
    losses are encountered. Hence the warning message "p is below resolution" is
    not necessary, and thus turned into a debug message by this patch.
    
    The TFRC_SMALLEST_P is needed since in theory p never actually reaches 0. When
    no further losses are encountered, the loss interval I_0 grows in length, 
    causing p to decrease towards 0, causing X_calc = s/(RTT * f(p)) to increase.
    
    With the given minimum-resolution this congestion avoidance phase stops at some
    fixed value, an approximation formula has been added to the documentation.
    Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
    8b67ad12
tfrc_equation.c 19.2 KB