Difference between revisions of "Swappiness"
Jump to navigation
Jump to search
↑ https://kernelnewbies.org/Linux_5.8
Line 2: | Line 2: | ||
[[sysctl]] vm.swappiness | [[sysctl]] vm.swappiness | ||
+ | |||
+ | |||
+ | [[/proc/sys/vm/]]swappiness | ||
Revision as of 07:08, 1 July 2021
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.
See also
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
- Linux Kernel: namespaces, Cgroups, OOM, proc, Linux Kernel changelog,
sysctl, userfaultfd
, Grub, ENOSPC, ENOMEM, DKMS, syscall, Transparent huge pages, smatch, sysfs, vm.swappiness, CFS, Runlevel, Jens Axboe, Consistent Network Device Naming, Initial ramdisk (initrd),modprobe
, MTD, Linux Kernel vulnerabilities,/sys/kernel/
, KernelCare,unix://
, Data Plane Development Kit (DPDK)
Advertising: