Even though I have set swappiness to 100 and enabled swap, nothing is being swapped out. This is probably because I don't have high memory pressure at the moment. For testing purposes though, I want to force kswapd to swap out as much as it can. Is there a way to kick it into action even though there isn't high memory pressure?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
Not that I know of, but you can force it to swap just by allocating (and using) some ram.
Save that to Warning: this will run fast until you actually hit a need for swap. Then your whole system will grind to a halt/start getting OOMs/random apps will start failing if you eat up too much RAM. |
|||
|
|
