TCPOptimization

优化服务器TCP性能

View project on GitHub

TCPOptimization

升级Linux Kernel,开启cake+bbr

1.升级Linux内核(触发重启)

CentOS7:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/KernelUpdate.sh | sh

CentOS8:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/KernelUpdate8.sh | sh

Debian8:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/KernelUpdate_debian8.sh | sh

Debian9:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/KernelUpdate_debian9.sh | sh

Debian10:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/KernelUpdate_debian10.sh | sh

Debian11:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/KernelUpdate_debian11.sh | sh

2.优化性能

CentOS7:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/TCPO.sh | sh

CentOS8:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/TCPO_centos8.sh | sh

Debian8:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/TCPO_debian8.sh | sh

Debian9:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/TCPO_debian9.sh | sh

Debian10:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/TCPO_debian10.sh | sh

Debian11:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/TCPO_debian11.sh | sh

NO KVM/XEN/VMWARE:

curl -sSL https://raw.githubusercontent.com/HXHGTS/TCPOptimization/master/TCPO_Without_KernelUpdate.sh | sh