A- A+

The TCPA- unilaterally congestion algorithm (similar to BBR and sharp speed) TCP used by Tencent accelerates the website faster.

03, 10 2019 Code No comment Read 848 times

TCP unilateral congestion algorithm, Google BBR is currently in great use, and even small partners have developed BBR violent version, BBR violence demon version, BBR plus version and so on. At present, many people are using sharp speed, but sharp speed has broken down situation. This is not recommended. BBR BBR has the best effect in all versions of BBR. Recently, Tencent kernel team also announced the internal use of TCP unilateral congestion algorithm, which can be used free of charge by owners, individuals and enterprises.

TCPA is more suitable for station users, but if you want to use large bandwidth applications such as watching videos, or BBR PLUS is more suitable.

Test results of authoritative data

Tencent TCPA

The TCPA used by Tencent is developed by Tencent TEG operating system group, based on RHEL7.4 source code and customized TCPA.

Team Introduction:

Tencent TEG operating system group, established in 2010, is a professional core team. It maintains the R & D of Tencent's internal Linux operating system tlinux, guarantees millions of server efficient and stable operation, and provides strong support for Tencent business.

Advantages: after TCPA is enabled, small files can be increased by more than 40% over BBR, and large files can increase 5%~10% over BBR. The advantage of TCPA lies in the performance improvement of small files. <strong> The program only accelerates 80, 443 and 8080 ports by default, which is more suitable for building station scenarios, and can add ports by itself.</strong>

TCPA one click setup script

Come from Kxxzz One click setup script

  1. WGet https://d.kxxzz.com/sh/tcpa.sh
  2. SH tcpa.sh

Come from Lijian One click setup script

  1. WGet http://down.08mb.com/tcp_opz/tcpa/tcpa.sh
  2. SH tcpa.sh

Installation requirements:

  • System: centos7 and above.
  • Boot partition is not less than 500M (too small may cause failure to install kernel).

TCPA manual installation tutorial

  1. Installation depends on:
  2. Yum -y install net-tools
  3.   
  4. Replace system kernel:
  5. WGet https://d.kxxzz.com/sh/kernel-3.10.0-693.5.2.tcpa06.tl2.x86_64.rpm
  6. RPM -ivh kernel-3.10.0-693.5.2.tcpa06.tl2.x86_64.rpm --force
  7.   
  8. Restart the operating system:
  9. Reboot
  10.   
  11. Download the main program:
  12. WGet https://d.kxxzz.com/sh/tcpa_packets_180619_1151.tar. Bz2  
  13.   
  14. Start installation:
  15. Tar jxvf tcpa_packets_180619_1151.tar. Bz2  
  16. CD tcpa_packets
  17. SH install.sh
  18.   
  19. New TCPA acceleration port:
  20. TCPA (by default only accelerates 804438080 of these 3 ports).
  21. VIM /usr/local/storage/tcpav2/start.sh
  22. Add after forty-sixth lines
  23. $BINDIR/$CTLAPP access add tip $ip tport custom port
  24.   
  25. Start TCPA:
  26. CD /usr/local/storage/tcpav2
  27. SH start.sh
  28.   
  29. See if success is successful:
  30. Lsmod|grep TcpA
  31.   
  32. Uninstall method:
  33. CD /usr/local/storage/tcpav2
  34. SH uninstall.sh

Reference articles Tencent TCPA official website , TCPA and BBR evaluation issued by Tencent official website , Two , Third party evaluation of TCPA and BBR , Four , Five

Label:

Leave a message for me.

Copyright old madman reserved all rights.

User login

Share to: