aboutsummaryrefslogtreecommitdiffstats
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
commite7fbac9d110ec15d66362c6bc18688fff1d010e8 (patch)
treec2d8bff0535a17a5743d2ae6025c5417ae5ff01f /package
parenta2bdf0f50bc6fa1d1ca06ff2447fbcb485b711a4 (diff)
downloadupstream-e7fbac9d110ec15d66362c6bc18688fff1d010e8.tar.gz
upstream-e7fbac9d110ec15d66362c6bc18688fff1d010e8.tar.bz2
upstream-e7fbac9d110ec15d66362c6bc18688fff1d010e8.zip
tweak some sysctl values for better performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15129 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 61b315ea72..7c5396cde8 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