Blog Untuk Semua

Everything for Everyone

Mempercepat koneksi internet di Ubuntu

Tinggalkan komentar

Gimana caranya mempercepat koneksi internet di ubuntu dengan menambahkan beberapa baris script di /etc/sysctl.conf. Yuk di simak caranya.

1. Buka terminal melalui menu yang tersedia.

2. Edit file sysctl.conf yang ada di direktori /etc melalui editor kesayangan anda.

sudo nano /etc/sysctl.conf

Lalu masukkan password Anda.

3. Tambahkan beberapa kode berikut di baris paling bawah.

# increase TCP max buffer size setable using setsockopt()
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
# don’t cache ssthresh from previous connection
net.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 = 30000
# 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

Kemudian save.

4. Masih di terminal, pakai perintah di bawah ini untuk melakukan apply

sudo sysctl -p

Selamat mencoba dan rasakan perbedaannya

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s