summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-04-07 02:51:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-04-07 02:51:04 +0000
commitcf152cff392d393fb7516cef2bf7003d4d3a9c17 (patch)
tree1caa482180810c3eeebfb9310068552606f5b128 /package
parentf8098f06b5e2404c32be609392488dcdd2ce8cb7 (diff)
downloadmtk-20170518-cf152cff392d393fb7516cef2bf7003d4d3a9c17.zip
mtk-20170518-cf152cff392d393fb7516cef2bf7003d4d3a9c17.tar.gz
mtk-20170518-cf152cff392d393fb7516cef2bf7003d4d3a9c17.tar.bz2
tweak some sysctl values for better performance
SVN-Revision: 15129
Diffstat (limited to 'package')
-rw-r--r--package/base-files/files/etc/sysctl.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/files/etc/sysctl.conf b/package/base-files/files/etc/sysctl.conf
index 61b315e..7c5396c 100644
--- a/package/base-files/files/etc/sysctl.conf
+++ b/package/base-files/files/etc/sysctl.conf
@@ -9,6 +9,9 @@ net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_keepalive_time=120
net.ipv4.tcp_syncookies=1
net.ipv4.tcp_timestamps=0
+net.core.netdev_max_backlog=30
+net.netfilter.nf_conntrack_checksum=0
+net.ipv4.netfilter.ip_conntrack_checksum=0
net.ipv4.netfilter.ip_conntrack_max=16384
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=3600
net.ipv4.netfilter.ip_conntrack_udp_timeout=60