close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Feb 26, 2008, 5:44:18 PM (18 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v2
|
v3
|
|
| 18 | 18 | ||net.ipv4.tcp_window_scaling ||1 ||1|| |
| 19 | 19 | ||net.ipv4.tcp_wmem ||4096 16384 131072 ||8192 262144 4194304|| |
| | 20 | |
| | 21 | ---- |
| | 22 | |
| | 23 | {{{ |
| | 24 | $ sysctl -w net.ipv4.conf.all.arp_filter=1 |
| | 25 | $ sysctl -w net.ipv4.conf.all.rp_filter=1 |
| | 26 | $ sysctl -w net.ipv4.tcp_max_syn_backlog=4096 |
| | 27 | $ sysctl -w net.ipv4.ipfrag_low_thresh=262144 |
| | 28 | $ sysctl -w net.ipv4.ipfrag_high_thresh=393216 |
| | 29 | $ sysctl -w net.core.netdev_max_backlog=2000 |
| | 30 | $ sysctl -w net.core.rmem_default=262144 |
| | 31 | $ sysctl -w net.core.rmem_max=8388608 |
| | 32 | $ sysctl -w net.core.wmem_default=262144 |
| | 33 | $ sysctl -w net.core.wmem_max=8388608 |
| | 34 | $ sysctl -w net.ipv4.ip_local_port_range="1024 65535" |
| | 35 | $ sysctl -w net.ipv4.ip_no_pmtu_disc=0 |
| | 36 | $ sysctl -w net.ipv4.tcp_rmem="8192 262144 4194304" |
| | 37 | $ sysctl -w net.ipv4.tcp_sack=0 |
| | 38 | $ sysctl -w net.ipv4.tcp_syncookies=0 |
| | 39 | $ sysctl -w net.ipv4.tcp_timestamps=0 |
| | 40 | $ sysctl -w net.ipv4.tcp_window_scaling=1 |
| | 41 | $ sysctl -w net.ipv4.tcp_wmem="8192 262144 4194304" |
| | 42 | }}} |