| Version 1 (modified by , 17 years ago) ( diff ) |
|---|
Add these settings to /etc/sysctl.conf and run the command sysctl -p
net.core.rmem_max=62500000 net.core.wmem_max=62500000 net.ipv4.tcp_rmem=4096 87380 62500000 net.ipv4.tcp_wmem=4096 16384 62500000 net.core.netdev_max_backlog = 2500 net.ipv4.tcp_moderate_rcvbuf=1 net.ipv4.tcp_timestamps=1 net.ipv4.tcp_window_scaling=1 net.ipv4.tcp_sack=1 net.ipv4.tcp_ecn=1 net.ipv4.tcp_adv_win_scale=7 net.ipv4.tcp_syncookies=0 net.ipv4.tcp_congestion_control=cubic
The output should look something like:
ipp000 ~ # sysctl -p net.ipv4.ip_forward = 0 net.ipv4.conf.default.rp_filter = 1 net.core.rmem_max = 62500000 net.core.wmem_max = 62500000 net.ipv4.tcp_rmem = 4096 87380 62500000 net.ipv4.tcp_wmem = 4096 16384 62500000 net.core.netdev_max_backlog = 2500 net.ipv4.tcp_moderate_rcvbuf = 1 net.ipv4.tcp_timestamps = 1 net.ipv4.tcp_window_scaling = 1 net.ipv4.tcp_sack = 1 net.ipv4.tcp_ecn = 1 net.ipv4.tcp_adv_win_scale = 7 error: "net.ipv4.tcp_syncookies" is an unknown key net.ipv4.tcp_congestion_control = cubic
Note that setting net.ipv4.tcp_syncookies failed because support for syncookies was not enabled in the kernel (on purpose in this case). This doesn't matter since we were trying to disable this feature anyways. However, there is a chance on older kernel that's the "cubic" tcp congestion control algorithm is not available. If you get an error setting this key to cubic, please look into upgrading or rebuilding your kernel with support for the cubic and/or BIC algorithms.
Note:
See TracWiki
for help on using the wiki.
