File: systune.router.conf

package info (click to toggle)
systune 0.5.3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 132 kB
  • ctags: 39
  • sloc: perl: 1,330; sh: 128; makefile: 15
file content (15 lines) | stat: -rw-r--r-- 275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# /etc/systune.conf
#   for router linux-box with small memory
#   kernel 2.2

# synflood protection
/proc/sys/net/ipv4/tcp_syncookies:1

# more files
/proc/sys/fs/file-max:4096

# smaller disk-chunks
/proc/sys/vm/page-cluster:2

# slower kswapd
/proc/sys/vm/kswapd:256	32	8