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 Comment 1 Read 2236 times

TCP single side 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 use sharp speed, but sharp speed has the situation of disconnection, this is not recommended. BBR BBR plus works best in all versions. Tencent core team recently announced the internal use of TCP unilateral congestion algorithm -TCPA, stationmaster, individual, enterprise can be free of charge.

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. 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.

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
  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
  8. Restart the operating system:
  9. Reboot
  11. Download the main program:
  12. WGet https://d.kxxzz.com/sh/tcpa_ Packets_ 180619_ 1151.tar. Bz2   
  14. Start installation:
  15. Tar jxvf tcpa_ Packets_ 180619_ 1151.tar. Bz2   
  16. CD tcpa_ Packets
  17. SH install.sh
  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
  25. Start TCPA:
  26. CD /usr/local/storage/tcpav2
  27. SH start.sh
  29. See if success is successful:
  30. Lsmod|grep TcpA
  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


1 message visitors: 1 bloggers: 0

  1. Yuhuatai

    Hi blogger why install TCPA, the memory of VPS will be reduced by about 100MB, for example, before the total memory is 998mb, after installing TCPA, memory will become the total 880MB memory.

Leave a message for me.

Copyright, old madman reserves all rights.

User login

Share to: