Difference between revisions of "Swappiness"
Jump to navigation
Jump to search
↑ https://kernelnewbies.org/Linux_5.8
(Created page with " sysctl vm.swappiness Since Linux Kernel 5.8 the swapiness sysctl can also now be raised up to 200 to force the kernel to use swapping, which can be useful with in...") Tags: Mobile web edit, Mobile edit |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[sysctl]] vm.swappiness | + | [[sysctl]] [[vm.]]swappiness |
− | Since [[Linux Kernel 5.8]] the swapiness sysctl can also now be raised up to 200 to force the kernel to use swapping, which can be useful with in-memory swap, like zram or zswap<ref>https://kernelnewbies.org/Linux_5.8</ref> | + | [[/proc/sys/vm/]]swappiness |
+ | |||
+ | |||
+ | Since [[Linux Kernel 5.8]] (Aug 2020) the swapiness <code>[[sysctl]]</code> can also now be raised up to 200 to force the kernel to use swapping, which can be useful with in-memory swap, like [[zram]] or [[zswap]]<ref>https://kernelnewbies.org/Linux_5.8</ref>, default value en [[Ubuntu 20.04 LTS]] is 60. | ||
+ | |||
+ | == Related terms == | ||
+ | * [[OOM]] | ||
+ | |||
+ | == See also == | ||
+ | * {{sysctl}} | ||
+ | * {{swap}} | ||
+ | [[Category:Linux Kernel]] |
Latest revision as of 11:56, 28 August 2023
sysctl vm.swappiness
/proc/sys/vm/swappiness
Since Linux Kernel 5.8 (Aug 2020) the swapiness sysctl
can also now be raised up to 200 to force the kernel to use swapping, which can be useful with in-memory swap, like zram or zswap[1], default value en Ubuntu 20.04 LTS is 60.
Related terms[edit]
See also[edit]
sysctl, -a, -p, -w
,vm.swappiness
,/etc/sysctl.conf
,/etc/sysctl.d/
,net.ipv4.ip_forward
, OOM,Kernel.shmmax
,prlimit
- Swap,
swapon
,swapoff
,mkswap
,swaplabel
,free
,sar -r
,sar -S
,sar -W
,vmstat
,vm.swappiness
,/proc/swaps
,/etc/fstab
, Add a swap disk,systemd.swap
Advertising: