base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 27 Jun 2012 22:32:44 +0000 (22:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 27 Jun 2012 22:32:44 +0000 (22:32 +0000)
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.

SVN-Revision: 32513

package/base-files/files/etc/sysctl.conf

index 2d970008fbcaf29c384a268648310b3fdad50ead..b39bc5747fcf008ca728615ea787d850d5a2bcb5 100644 (file)
@@ -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