Sun Microsystems Gigabit Ethernet MMF/UTP Adapter net.ipv4.tcpsack =, net.core.netdevmaxbacklog =

Models: Gigabit Ethernet MMF/UTP Adapter

1 122
Download 122 pages 59.52 Kb
Page 116
Image 116
net.ipv4.tcp_sack = 0

2.Create the conf file (for example, sysctl_e1000.conf) that will be called by the sysctl utility.

### IPV4 specific settings

#turns TCP timestamp support off, default 1, reduces CPU use net.ipv4.tcp_timestamps = 0

#turn SACK support off, default on systems with a VERY fast bus ->

#memory interface this is the big gainer

net.ipv4.tcp_sack = 0

#sets min/default/max TCP read buffer, default 4096 87380 174760 net.ipv4.tcp_rmem = 10000000 10000000 10000000

#sets min/pressure/max TCP write buffer, default 4096 16384 131072 net.ipv4.tcp_wmem = 10000000 10000000 10000000

#sets min/pressure/max TCP buffer space, default 31744 32256 32768 net.ipv4.tcp_mem = 10000000 10000000 10000000

###CORE settings (mostly for socket and UDP effect)

# maximum receive socket buffer size, default 131071 net.core.rmem_max = 524287

# maximum send socket buffer size, default 131071 net.core.wmem_max = 524287

# default receive socket buffer size, default 65535 net.core.rmem_default = 524287

# default send socket buffer size, default 65535 net.core.wmem_default = 524287

# maximum amount of option memory buffers, default 10240 net.core.optmem_max = 524287

# number of unprocessed input packets before kernel starts dropping

# them, default 300

net.core.netdev_max_backlog = 300000

Setting Driver Parameters in a Linux Environment

In a Linux operating system, the driver parameters can only be set at the time the driver is loaded. If you have already loaded the driver and have not set the parameters at the same time. Remove the driver and reinstall it.

82 Sun PCI-Express Dual Gigabit Ethernet MMF/UTP Adapter Installation and User’s Guide • June 2006

Page 116
Image 116
Sun Microsystems Gigabit Ethernet MMF/UTP Adapter Setting Driver Parameters in a Linux Environment, net.ipv4.tcpsack =