net-speeder 介绍: 在高延迟不稳定链路上优化单线程下载速度

A program to speed up single thread download upon long delay and unstable network

在高延迟不稳定链路上优化单线程下载速度

注1:开启了net-speeder的服务器上对外ping时看到的是4倍,实际网络上是2倍流量。另外两倍是内部dup出来的,不占用带宽。
另外,内部dup包并非是偷懒未判断。。。是为了更快触发快速重传的。
注2:net-speeder不依赖ttl的大小,ttl的大小跟流量无比例关系。不存在windows的ttl大,发包就多的情况。

复制执行以下命令即可自动安装(安装完服务器会自动重启)

wget https://github.com/a8866051/net-speeder/archive/master.zip&&unzip master.zip&&yum install epel-release -y&&yum install libpcap* -y&&yum install libnet* -y&&cd net-speeder-master&&sh build.sh&&yum install screen -y&&chmod +x /etc/rc.local&&echo "nohup /root/net-speeder-master/net_speeder eth0 "ip" >/dev/null 2>&1 &" >> /etc/rc.local&&reboot

重新连接后执行

ps -e

查看是否有net_speeder进程。

安装过程中报错,安装 lib 即可

 libpcap*
 libnet*

最后修改:2021 年 10 月 20 日
如果觉得我的文章对你有用,请随意赞赏