Home
last modified time | relevance | path

Searched refs:beta (Results 1 – 10 of 10) sorted by relevance

/net/ipv4/
A Dtcp_htcp.c28 u8 beta; /* Fixed point arith, << 7 */ member
155 ca->beta = BETA_MIN; in htcp_beta_update()
162 ca->beta = (minRTT << 7) / maxRTT; in htcp_beta_update()
163 if (ca->beta < BETA_MIN) in htcp_beta_update()
164 ca->beta = BETA_MIN; in htcp_beta_update()
165 else if (ca->beta > BETA_MAX) in htcp_beta_update()
166 ca->beta = BETA_MAX; in htcp_beta_update()
168 ca->beta = BETA_MIN; in htcp_beta_update()
194 ca->alpha = 2 * factor * ((1 << 7) - ca->beta); in htcp_alpha_update()
228 return max((tcp_snd_cwnd(tp) * ca->beta) >> 7, 2U); in htcp_recalc_ssthresh()
[all …]
A Dtcp_illinois.c51 u32 beta; /* Muliplicative decrease */ member
74 ca->beta = BETA_BASE; in tcp_illinois_init()
192 static u32 beta(u32 da, u32 dm) in beta() function
229 ca->beta = BETA_BASE; in update_params()
235 ca->beta = beta(da, dm); in update_params()
250 ca->beta = BETA_BASE; in tcp_illinois_state()
302 decr = (tcp_snd_cwnd(tp) * ca->beta) >> BETA_SHIFT; in tcp_illinois_ssthresh()
A Dtcp_bic.c32 static int beta = 819; /* = 819/1024 (BICTCP_BETA_SCALE) */ variable
42 module_param(beta, int, 0644);
43 MODULE_PARM_DESC(beta, "beta for multiplicative increase");
170 ca->last_max_cwnd = (tcp_snd_cwnd(tp) * (BICTCP_BETA_SCALE + beta)) in bictcp_recalc_ssthresh()
178 return max((tcp_snd_cwnd(tp) * beta) / BICTCP_BETA_SCALE, 2U); in bictcp_recalc_ssthresh()
A Dtcp_cubic.c50 static int beta __read_mostly = 717; /* = 717/1024 (BICTCP_BETA_SCALE) */
67 module_param(beta, int, 0644);
68 MODULE_PARM_DESC(beta, "beta for multiplicative increase");
350 ca->last_max_cwnd = (tcp_snd_cwnd(tp) * (BICTCP_BETA_SCALE + beta)) in cubictcp_recalc_ssthresh()
355 return max((tcp_snd_cwnd(tp) * beta) / BICTCP_BETA_SCALE, 2U); in cubictcp_recalc_ssthresh()
514 beta_scale = 8*(BICTCP_BETA_SCALE+beta) / 3 in cubictcp_register()
515 / (BICTCP_BETA_SCALE - beta); in cubictcp_register()
A Dtcp_vegas.c45 static int beta = 4; variable
50 module_param(beta, int, 0644);
51 MODULE_PARM_DESC(beta, "upper bound of packets in network");
254 if (diff > beta) { in tcp_vegas_cong_avoid()
A Dtcp_veno.c24 static const int beta = 3 << V_PARAM_SHIFT; variable
163 if (veno->diff < beta) { in tcp_veno_cong_avoid()
200 if (veno->diff < beta) in tcp_veno_ssthresh()
A DKconfig525 modeswitch to change the alpha and beta parameters of TCP Reno
623 adjust the alpha and beta parameters to achieve a higher average
/net/sched/
A Dsch_pie.c182 WRITE_ONCE(q->params.beta, nla_get_u32(tb[TCA_PIE_BETA])); in pie_change()
309 u64 alpha, beta; in pie_calculate_probability() local
340 beta = ((u64)params->beta * (MAX_PROB / PSCHED_TICKS_PER_SEC)) >> 4; in pie_calculate_probability()
347 beta >>= 1; in pie_calculate_probability()
353 beta >>= 2; in pie_calculate_probability()
360 delta += beta * (qdelay - qdelay_old); in pie_calculate_probability()
483 nla_put_u32(skb, TCA_PIE_BETA, READ_ONCE(q->params.beta)) || in pie_dump()
A Dsch_fq_pie.c341 WRITE_ONCE(q->p_params.beta, in fq_pie_change()
490 nla_put_u32(skb, TCA_FQ_PIE_BETA, READ_ONCE(q->p_params.beta)) || in fq_pie_dump()
A Dsch_dualpi2.c813 u32 beta = nla_get_u32(tb[TCA_DUALPI2_BETA]); in dualpi2_change() local
815 WRITE_ONCE(q->pi2_beta, dualpi2_scale_alpha_beta(beta)); in dualpi2_change()

Completed in 18 milliseconds