aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-27 22:32:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-27 22:32:44 +0000
commit1f9660c627f39f6a9dbfcc528af48f09131724b3 (patch)
tree5ff1ff791e0739b3ffdfb7a0e7f92bb7df19a4c8 /package/base-files
parentd07680275201b8f0028f9d8d9193ffcc278a2cb9 (diff)
downloadupstream-1f9660c627f39f6a9dbfcc528af48f09131724b3.tar.gz
upstream-1f9660c627f39f6a9dbfcc528af48f09131724b3.tar.bz2
upstream-1f9660c627f39f6a9dbfcc528af48f09131724b3.zip
base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
A year of testing in the cerowrt project shows not using timestamps to be a very bad idea in nearly any TCP at speeds above a few Mbit. Lastly sack/dsack help on recovery from larger amounts of packet loss. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32513 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/files/etc/sysctl.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/files/etc/sysctl.conf b/package/base-files/files/etc/sysctl.conf
index 2d970008fb..b39bc5747f 100644
--- a/package/base-files/files/etc/sysctl.conf
+++ b/package/base-files/files/etc/sysctl.conf
@@ -8,7 +8,9 @@ net.ipv4.tcp_ecn=0
net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_keepalive_time=120
net.ipv4.tcp_syncookies=1
-net.ipv4.tcp_timestamps=0
+net.ipv4.tcp_timestamps=1
+net.ipv4.tcp_sack=1
+net.ipv4.tcp_dsack=1
net.ipv4.netfilter.ip_conntrack_checksum=0
net.ipv4.netfilter.ip_conntrack_max=16384