IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of RecommendedLinuxSysctls


Ignore:
Timestamp:
Jul 31, 2009, 4:29:48 PM (17 years ago)
Author:
jhoblitt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RecommendedLinuxSysctls

    v1 v1  
     1Add these settings to /etc/sysctl.conf and run the command sysctl -p
     2{{{
     3net.core.rmem_max=62500000
     4net.core.wmem_max=62500000
     5net.ipv4.tcp_rmem=4096 87380 62500000
     6net.ipv4.tcp_wmem=4096 16384 62500000
     7net.core.netdev_max_backlog = 2500
     8net.ipv4.tcp_moderate_rcvbuf=1
     9net.ipv4.tcp_timestamps=1
     10net.ipv4.tcp_window_scaling=1
     11net.ipv4.tcp_sack=1
     12net.ipv4.tcp_ecn=1
     13net.ipv4.tcp_adv_win_scale=7
     14net.ipv4.tcp_syncookies=0
     15net.ipv4.tcp_congestion_control=cubic
     16
     17}}}
     18
     19The output should look something like:
     20
     21{{{
     22ipp000 ~ # sysctl -p
     23net.ipv4.ip_forward = 0
     24net.ipv4.conf.default.rp_filter = 1
     25net.core.rmem_max = 62500000
     26net.core.wmem_max = 62500000
     27net.ipv4.tcp_rmem = 4096 87380 62500000
     28net.ipv4.tcp_wmem = 4096 16384 62500000
     29net.core.netdev_max_backlog = 2500
     30net.ipv4.tcp_moderate_rcvbuf = 1
     31net.ipv4.tcp_timestamps = 1
     32net.ipv4.tcp_window_scaling = 1
     33net.ipv4.tcp_sack = 1
     34net.ipv4.tcp_ecn = 1
     35net.ipv4.tcp_adv_win_scale = 7
     36error: "net.ipv4.tcp_syncookies" is an unknown key
     37net.ipv4.tcp_congestion_control = cubic
     38}}}
     39
     40Note 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.
     41