没错,我现在发现单单是 hybla 已经救不了我的网络了,那怎么办?

只好用一些非常手段了.

根据 V2EX 上这位仁兄所说,我们可以修改内核来玩.

net/ipv4/tcp_input.c:

 static inline void tcp_moderate_cwnd(struct tcp_sock *tp)
 {
         tp->snd_cwnd = min(tp->snd_cwnd,
                        tcp_packets_in_flight(tp) + tcp_max_burst(tp));
         tp->snd_cwnd_stamp = tcp_time_stamp;
 }

其中 min 改为 max


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.