Page MenuHomeFreeBSD

D25133.id73568.diff
No OneTemporary

D25133.id73568.diff

Index: sys/netinet/cc/cc_cubic.c
===================================================================
--- sys/netinet/cc/cc_cubic.c
+++ sys/netinet/cc/cc_cubic.c
@@ -313,10 +313,15 @@
* timeout has fired more than once, as there is a reasonable
* chance the first one is a false alarm and may not indicate
* congestion.
+ * This will put Cubic firmly into the concave / TCP friendly
+ * region, for a slower ramp-up after two consecutive RTOs.
*/
if (CCV(ccv, t_rxtshift) >= 2) {
cubic_data->flags |= CUBICFLAG_CONG_EVENT;
cubic_data->t_last_cong = ticks;
+ cubic_data->max_cwnd = CCV(ccv, snd_cwnd_prev);
+ cubic_data->K = cubic_k(cubic_data->max_cwnd /
+ CCV(ccv, t_maxseg));
}
break;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 9, 12:34 PM (9 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28579610
Default Alt Text
D25133.id73568.diff (736 B)

Event Timeline