|
|
|
|
|
by mrob
10 days ago
|
|
I'm going by the ArchWiki: https://wiki.archlinux.org/title/Swap#Swappiness "There is a common misconception that swappiness affects the memory threshold or prevents using swap space, but it only affects the preference for freeing up file pages over swap." As I understand it, Linux does not preemptively evict idle anonymous or file-backed pages, only as a response to memory pressure. |
|
The name suggests it is the willingness to use the swapping mechanism, while it is the willingness to use the swap partition (or file). The variables anon_prio and file_prio that the kernel uses internally are much clearer!