bbr一键安装脚本/bbr多功能脚本/bbr一键多功能脚本/bbr魔改脚本
枫逸博客|FengYi Blog

bbr一键安装脚本/bbr多功能脚本/bbr一键多功能脚本/bbr魔改脚本

枫逸
2023-01-31 / 0 评论 / 926 阅读 / 正在检测是否收录...

360截图20230131002927390.jpg

1.预先准备

2. 不卸载内核版本

wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh

3.卸载内核版本

wget -O tcp.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

关联action自动编译内核
https://github.com/ylx2016/kernel/


双持bbr+锐速
bbr 添加

echo "net.core.default_qdisc=fq" >> /etc/sysctl.d/99-sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/99-sysctl.conf
sysctl -p

编辑锐速文件

nano /appex/etc/config

检测代码有BUG,如果锐速正常 运行查看

bash /appex/bin/lotServer.sh status | grep "LotServer"

检查bbr 内核默认bbr算法不会有输出

lsmod | grep bbr

检查centos安装内核

grubby --info=ALL|awk -F= '$1=="kernel" {print i++ " : " $2}'

查看当前支持TCP算法

cat /proc/sys/net/ipv4/tcp_allowed_congestion_control

查看当前运行的算法

cat /proc/sys/net/ipv4/tcp_congestion_control

查看当前队列算法

sysctl net.core.default_qdisc

命令: uname -a
作用: 查看系统内核版本号及系统名称


命令: cat /proc/version
作用: 查看目录"/proc"下version的信息,也可以得到当前系统的内核版本号及系统名称


真实队列查看? 更改队列算法可能需要重启生效

tc -s qdisc show

/etc/sysctl.d/99-sysctl.conf
sysctl --system

0

打赏

海报

正在生成.....

评论 (0)

取消