碧莲 大佬有话说 : 2019-11-12 10:17:38
pr兄弟过来,锐速优化加速翻倍干货
本帖最后由 碧莲 于 2019-11-11 14:41 编辑
https://s2.ax1x.com/2019/11/12/M1Cg8U.png
https://s2.ax1x.com/2019/11/12/M1CfKJ.png
https://s2.ax1x.com/2019/11/12/M1Chr9.png
先将系统dd为 debian 7
bash <(wget –no-check-certificate -qO- ‘https://moeclub.org/attachment/LinuxShell/InstallNET.sh’) -d 7 -v 64 -a -p 你的密码
下面修改配置优化!
1.增加系统文件描述符的最大限数
编辑文件 limits.conf
vi /etc/security/limits.conf
最后新增两行添加命令:
* soft nofile 51200
* hard nofile 51200
如发现limits.conf文件内容已经有,请修改为上。
编辑文件 profile
vi /etc/profile
最后新增一行添加命令:
ulimit -SHn 51200
修改后重启,检查是否生效命令:ulimit -n
2.调整内核参数
修改配置文件sysctl.conf
vi /etc/sysctl.conf
最后新增一行添加命令:
fs.file-max = 51200
net.core.rmem_max = 67108864
net.core.wmem_max = 67108864
net.core.rmem_default = 65536
net.core.wmem_default = 65536
net.core.netdev_max_backlog = 4096
net.core.somaxconn = 4096
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.ip_local_port_range = 10000 65000
net.ipv4.tcp_max_syn_backlog = 4096
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_rmem = 4096 87380 67108864
net.ipv4.tcp_wmem = 4096 65536 67108864
net.ipv4.tcp_mtu_probing = 1
net.ipv4.tcp_congestion_control = hybla
修改后执行命令:sysctl -p 使配置生效。
安装锐速
bash <(wget –no-check-certificate -qO- https://github.com/MoeClub/lotServer/raw/master/Install.sh) install
修改锐速配置 vi /appex/etc/config
acc="1"
advacc="1"
advinacc="1"
maxmode="1"
initialCwndWan="62"
l2wQLimit="1024 8192"
w2lQLimit="1024 8192"
shaperEnable="0"
smBurstMS="20"
engineNum="1"
shortRttMS="70"
修改完成,最后重启锐速!
使用方法:
启动命令 /appex/bin/lotServer.sh start
停止加速 /appex/bin/lotServer.sh stop
状态查询 /appex/bin/lotServer.sh status
重新启动 /appex/bin/lotServer.sh restart
财缘 大佬有话说 : 2019-11-12 10:39:37
一番折腾,你会发现并无卵用
hyllgf 大佬有话说 : 2019-11-12 10:40:55
这个真的不错。。顶一个
碧莲 大佬有话说 : 2019-11-12 10:35:49
本帖最后由 碧莲 于 2019-11-11 14:39 编辑
那些用bbr不好的,一定试试 锐速!
锐速不是默认安装就行了,还要修改参数针对当前机器网络环境优化的。
本文图2截图的speedtest 默认节点 测速差是因为这个是默认根据你的ip归属地而分配对应测试节点测试的,因为我的这ip广播地区未校正。
安之若素 大佬有话说 : 2019-11-12 10:37:01
锐速不是默认安装就行了,还要修改参数针对当前机器网络环境优化的。
mobisww 大佬有话说 : 2019-11-12 10:37:36
Yuang 大佬有话说 : 2019-11-12 10:42:44
这个一定要试一试,感谢分享~
(锐速换内核老失败,希望这个不会。)
leasr 大佬有话说 : 2019-11-12 10:47:10
无论如何谢谢我的邻居碧莲
dj801 大佬有话说 : 2019-11-12 10:48:58
QN的CN2简直了…
碧莲 大佬有话说 : 2019-11-12 10:49:42
leasr 大佬有话说 : 2019-11-11 14:47
无论如何谢谢我的邻居碧莲
yc019t 是4号鸡的邻居吗