3 ms·
If you have too much swap configured it can take hours to recover. Maybe days, never let it go that long without giving up. The kernel is terribly slow at swapp
by wongarsu 3y ago
If you have too much swap configured it can take hours to recover. Maybe days, never let it go that long without giving up. The kernel is terribly slow at swapping stuff back once memory pressure is gone.
Of course the remedy is to have no or very little swap configured, but that's not obvious when compared to other operating systems (for example on Windows more swap never hurts, and the system recovers very quickly once memory pressure is gone)
- bArray 3y agoThat and there are some processes that should never be swapped, and yet they are. I think it should be possible for a process to request that it is never swapped, or to suggest sections of it are never swapped. Even a swap blacklist would be a great start.