You are not logged in.
Pages: 1
Hi *,
Is there a way to make the swappiness trigger without being low on memory?
I want to swap out parts of the memory that have not been used in a while before I reach the situation where I'm out of memory.
Even better, it would be great if the kernel could just copy those parts to the swap, and keep them in memory, as the ram is not depleted yet, but when it comes the time where no memory is available, it just removes pages from the RAM, and they are already in the swap. So not a huge slow down would be observed like when normal swapping occurs.
Thanks for the wisdom!
Cheers!
----------------------
EDIT: A quick search for "preemptive pagefile" reveals that the M$ OS appears to have such a feature.
Last edited by sakishrist (2018-02-09 14:10:14)
Offline
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I do not understand which part of that wiki page relates to "preemptive".
I currently have swappiness to 100 and the swap is completely empty.
$ free -m
total used free shared buff/cache available
Mem: 7874 5345 332 269 2196 1854
Swap: 8287 0 8287
VFS cache pressure and Zswap seem to be completely unrelated to what I'm asking.
Offline
https://bbs.archlinux.org/viewtopic.php?id=231265
I suggest you describe your actual problem because, no offense, but your initial posting is complete nonsense.
Offline
Pages: 1