mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-08-03 19:44:18 -04:00
vm.swappiness=1
import from swappiness-lowest https://forums.whonix.org/t/vm-swappiness-1-set-swapiness-to-lowest-setting-still-useful-swappiness-lowest/9278
This commit is contained in:
parent
642d4d8d93
commit
565ff136e5
2 changed files with 11 additions and 1 deletions
|
@ -139,3 +139,10 @@ dev.tty.ldisc_autoload=0
|
|||
##
|
||||
## https://duasynt.com/blog/linux-kernel-heap-spray
|
||||
vm.unprivileged_userfaultfd=0
|
||||
|
||||
## Let the kernel only swap if it is absolutely necessary.
|
||||
## Better not be set to zero:
|
||||
## - https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/s-memory-tunables.html
|
||||
## - https://en.wikipedia.org/wiki/Swappiness
|
||||
vm.swappiness=1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue