Swap: Difference between revisions
Artoria2e5 (talk | contribs) →Adjusting swap usage behaviour: It's more of a process(anon page):cache ratio |
Artoria2e5 (talk | contribs) |
||
Line 151: | Line 151: | ||
}} | }} | ||
You can see your current swappiness level by <code>cat /proc/sys/vm/swappiness</code>. The lowest accepted value is | You can see your current swappiness level by <code>cat /proc/sys/vm/swappiness</code>. The lowest accepted value is 0 while the maximum value is 200. The lowest sane value is 1 (0 causes the system to not scan for unused anonymous pages, i.e. memory freed by processes, at all). | ||
For more on tuning the swap, start with [https://wiki.archlinux.org/title/Swap#swappiness ArchWiki]'s description. | For more on tuning the swap, start with [https://wiki.archlinux.org/title/Swap#swappiness ArchWiki]'s description. |