cp gentoo:12309.conf debian:12309.conf
This commit is contained in:
parent
6864bff5fa
commit
6ad109d8cd
|
@ -1,24 +1,21 @@
|
||||||
# swap usage (default = 60)
|
# swap usage (default = 60)
|
||||||
vm.swappiness = 5
|
vm.swappiness = 5
|
||||||
|
# (default = 100)
|
||||||
|
vm.vfs_cache_pressure = 1000
|
||||||
|
|
||||||
# http://www.linux.org.ru/wiki/en/User:shimon/12309
|
# http://www.linux.org.ru/wiki/en/User:shimon/12309
|
||||||
# reduce memory size allowed to process (default = 0 )
|
# reduce memory size allowed to process (default = 0 )
|
||||||
vm.overcommit_memory = 2
|
vm.overcommit_memory = 1
|
||||||
# memory allowed to process: total_swap + total_ram * overcommit_ratio / 100 (default = 50 )
|
# memory allowed to process: total_swap + total_ram * overcommit_ratio / 100 (default = 50 )
|
||||||
vm.overcommit_ratio = 80
|
#vm.overcommit_ratio = 12
|
||||||
# disk buffer size (default = 0 )
|
# disk buffer size (default = 0 )
|
||||||
vm.dirty_bytes = 2097152
|
vm.dirty_bytes = 16777216
|
||||||
# disk buffer size (default = 0 )
|
# disk buffer size (default = 0 )
|
||||||
vm.dirty_background_bytes = 2097152
|
vm.dirty_background_bytes = 4194304
|
||||||
# (default = 100)
|
|
||||||
vm.vfs_cache_pressure = 50
|
|
||||||
# For old kernels <2.6.30 (default = 40)
|
# For old kernels <2.6.30 (default = 40)
|
||||||
#vm.dirty_ratio = 3
|
#vm.dirty_ratio = 12
|
||||||
# For old kernels <2.6.30 (default = 10)
|
# For old kernels <2.6.30 (default = 10)
|
||||||
#vm.dirty_background_ratio = 3
|
#vm.dirty_background_ratio = 3
|
||||||
|
# https://github.com/zen-kernel/zen-kernel/issues/81#issuecomment-260779930
|
||||||
# -- more 12309 tricks --
|
vm.dirty_expire_centisecs = 800
|
||||||
# (default = 3000)
|
vm.dirty_writeback_centisecs = 500
|
||||||
vm.dirty_expire_centisecs = 1000
|
|
||||||
# (default = 500)
|
|
||||||
vm.dirty_writeback_centisecs = 200
|
|
||||||
|
|
Loading…
Reference in New Issue