L I N U X
N E T W O R K T U N I N G
For Red Hat Linux and z/Linux (Suse Linux on zOS), we add the following settings to file /etc/sysctl.conf, then run the command: sysctl
To inspect current TCP parameters, run the command: sysctl
Table 12: Linux Network Settings
Parameter | Value |
|
|
net.ipv4.ip_forward | 0 |
|
|
net.ipv4.conf.default.rp_filter | 1 |
|
|
net.ipv4.conf.default.accept_source_route | 0 |
|
|
net.core.rmem_max | 16777216 |
|
|
net.core.wmem_max | 16777216 |
|
|
net.ipv4.tcp_rmem | 4096 87380 16777216 |
|
|
net.ipv4.tcp_wmem | 4096 65536 16777216 |
|
|
net.ipv4.tcp_fin_timeout | 30 |
|
|
net.core.netdev_max_backlog | 3000 |
|
|
net.core.somaxconn | 10000 |
|
|
net.ipv4.tcp_keepalive_intvl | 15 |
|
|
net.ipv4.tcp_keepalive_probes | 5 |
|
|
W I N D O W S 2 0 0 3
N E T W O R K T U N I N G
Use the regedit command, the following registry settings were made in the section
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
Tcpip\Parameters. Create a new REG_DWORD named below.
Table 13: Windows Network Settings
Parameter |
| Value |
|
|
|
MaxFreeTcbs |
| dword:00011940 |
|
|
|
MaxHashTableSize |
| dword:0000ffff |
|
|
|
MaxUserPort |
| dword:0000fffe |
|
|
|
TcpTimedWaitDelay |
| dword:0000001e |
|
|
|
TcpWindowSize |
| dword:0000ffff (65535) |
|
|
|
| 2 6 |
|
| W E BS P HE R E P O R T AL V 6 . 1 T U N I N G G U I D E |