add /etc/sysctl.conf

This commit is contained in:
Jaroslav Kysela 2015-04-09 10:47:49 +02:00
parent 2e5e6a4eb7
commit cd1d1a031f
2 changed files with 13 additions and 0 deletions

View File

@ -31,6 +31,9 @@ ln -s /tmp/var /var
rm -rf /var.2
mkdir -p /tmp/var/run /tmp/var/log /tmp/var/spool
# sysctl.conf
sysctl -q -p
# start syslogd
syslogd -C256

10
fs-add/etc/sysctl.conf Normal file
View File

@ -0,0 +1,10 @@
vm.swappiness = 10
vm.lowmem_reserve_ratio = 64 64 8
vm.vfs_cache_pressure = 20
vm.dirty_ratio = 40
net.core.rmem_max=524288
net.core.wmem_max=524288
net.ipv4.tcp_rmem=4096 65536 65536
net.ipv4.tcp_wmem=4096 65536 65536