Following ways to speed internet connection in Ubuntu:
1. Open a terminal (CTRL + F2 content gnome-terminal)
2. Target sysctl.conf file and we are located at / etc / sysctl.conf3. Backup sysctl.conf file type in the following ways:
$ Sudo cp / etc / sysctl.conf / etc / sysctl.conf.cadangan4. Edit the sysctl.conf file type in the following ways:$ Sudo gedit / etc / sysctl.conf5. Sysctl.conf file contents:
# Increase TCP max buffer size setable using setsockopt (
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
# Increase AutoTuning Linux TCP buffer limits
# Min, default, and max number of bytes to use
# Set max to at least 4MB, or higher if you use very high BDP paths
net.ipv4.tcp_rmem = 4096 87 380 16,777,216
net.ipv4.tcp_wmem = 4096 65 536 16,777,216
# Do not cache ssthresh from previous connectionnet.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1
# Recommended to Increase this for 1000 BT or higher
net.core.netdev_max_backlog = 2500
# For 10 GigE, use this, uncomment below
# Net.core.netdev_max_backlog = 30 000
# Turn off timestamps if you're on a gigabit or very busy network
# Having it off is one less thing the IP stack needs to work on
# Net.ipv4.tcp_timestamps = 0
# Disable tcp selective acknowledgements.
net.ipv4.tcp_sack = 0
# Enable window scaling
net.ipv4.tcp_window_scaling = 1
6. Save the file and run$ Sudo sysctl-p7. To eliminate the effect you just replace the files systcl.conf with which we had backups.
Leia mais...