Skip to main content

6. TCP Network Settings

In this step you will set TCP settings which greatly improve the performance of the gateway computer.

About TCP Congestion

The TCP congestion window size limits the maximum amount of data sent out to a network after a time of little operation. The default size needs to be increased to reduce latency in the xx Network. These changes are necessary for the xx Network because the cMixx protocol transmits in short bursts. As a result, the congestion windows contract between transmissions, causing them to reopen on every transmission, significantly slowing down the network in high latency environments.

Open sysctl.conf

sudo nano /etc/sysctl.conf 

Edit sysctl.conf

Add the following token=value pairs to the end of the sysctl.conf file

net.ipv4.tcp_slow_start_after_idle=0
net.ipv4.tcp_congestion_control=bbr
net.core.default_qdisc=fq

Save sysctl.conf and Exit nano

Press Ctrl + s then Ctrl + x

Load sysctl.conf

sudo sysctl -p