File: systune.conf

package info (click to toggle)
systune 0.5.4
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 60 kB
  • ctags: 10
  • sloc: sh: 102; makefile: 15
file content (61 lines) | stat: -rw-r--r-- 1,355 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# /etc/systune.conf

# Format:
#   <path>:<value>
#   <path>:<value>
#   ...

# Filesystem tuning

# defaults*10 for kernel 2.0
/proc/sys/kernel/file-max:10240
/proc/sys/kernel/inode-max:30720

# defaults*10 for kernel 2.2
/proc/sys/fs/file-max:40960
/proc/sys/fs/inode-max:81920

# VM tuning

# More aggresive buffering, usable for servers
/proc/sys/vm/bdflush:100 5000 640 2560 150 30000 5000 1884 2

# Network tuning

# Maximal number of remembered connection requests for heavy loaded server
/proc/sys/net/ipv4/tcp_max_syn_backlog:8192

# Number of TCP retries, less for fast recovery
/proc/sys/net/ipv4/tcp_retries1:2

# Timeout about 8 sec. for outgoing SYN packets
/proc/sys/net/ipv4/tcp_syn_retries:1

# More open sockets
/proc/sys/net/ipv4/ip_local_port_range:10000 65000

# Disable select acknowledgments (SACKs).
/proc/sys/net/ipv4/tcp_sack:0

# Disable timestamps as defined in RFC1323.
/proc/sys/net/ipv4/tcp_timestamps:0

# Network settings

# IP forwarding
/proc/sys/net/ipv4/ip_forward:1

# domain name
#/proc/sys/kernel/domainname:my.domain.com

# Enable syncookies
/proc/sys/net/ipv4/tcp_syncookies:1

# Don't respond for broadcast ICMP
/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts:1

# FreeBSD isn't RFC1122 compatible
/proc/sys/net/ipv4/icmp_ignore_bogus_error_responses:1

# ECN doesn't work everywhere
/proc/sys/net/ipv4/tcp_ecn:0