Last update at :2024-03-21,Edit by888u
The TCPA used internally by Tencent is developed by the Tencent TEG operating system group and is a customized TCPA based on the RHEL7.4 source code. Team introduction: Tencent TEG operating system group, established in 2010, is a professional kernel team that maintains and develops Tencent's internal Linux operating system tlinux to ensure efficient and stable operation of million-level servers and provide strong support for Tencent's business.
Advantages: After TCPA is enabled, small files can be improved by more than 40% compared to BBR, and large files can be improved by 5% to 10% compared to BBR. The advantage of TCPA is the performance improvement of small files, and the program only accelerates the website port (80/443/8080) by default, so it is more suitable for website building scenarios.
Installation requirements: The boot partition of centos7 or above should not be less than 500M (too small may cause kernel installation to fail)
Deployment process: Install necessary dependencies:
yum -y install net-toolsReplace the system kernel
[root@vultr ~]# wget http://down.08mb.com/tcp_opz/tcpa/kernel-3.10.0-693.5.2.tcpa06.tl2.x86_64.rpm [root@vultr ~]# rpm -ivh kernel-3.10.0-693.5.2.tcpa06.tl2.x86_64.rpm --force Preparing... ################################# [100%] Updating/installing... 1:kernel-3.10.0-693.5.2.tcpa06.tl2 ################################[100 %] Install kernel Set Grub default to "3.10.0-693.5.2.tcpa06.tl2" Done.Restart the operating system
rebootDownload the main program:
wget http://down.08mb.com/tcp_opz/tcpa/tcpa_packets_180619_1151.tar.gzStart installation:
tar xf tcpa_packets_180619_1151.tar.gz cd tcpa_packets sh install.shTCPA (default only accelerates the three ports 80, 443, and 8080), if you need to add a new acceleration port:
vim /usr/local/storage/tcpav2/start.shAdd after line 46:
$BINDIR/$CTLAPP access add tip $ip tport custom portStart tcpa congestion algorithm:
cd /usr/local/storage/tcpav2 sh start.shCheck whether the activation is successful
[root@vultr tcpav2]# lsmod|grep tcpa tcpa_engine 224249 0Uninstall method:
cd /usr/local/storage/tcpav2 sh uninstall.shIf you want to be lazy, you can use the blogger's one-click installation script:
wget http://down.08mb.com/tcp_opz/tcpa/tcpa.sh shtcpa.shInstructions for use: One-click package will automatically install dependencies (only epel-release, net-tools) and kernel and restart. After restarting, the installation will be completed automatically without manual intervention.
Borui authoritative data test results:
This article is reprinted from Li Zi’s blog: https://www.lijian.me/141.html
Recommended site searches: expired registered domain name query, virtual host evaluation, virtual space purchase, server abroad, domain name provider, mainland China proxy server IP, free mainland China space, registered domain name, registration-free CDN acceleration, Ministry of Industry and Information Technology website registration system< /p>
发表评论