Re:In defence of swap: common misconceptions
by tsimionescu on Tuesday June 09, 2020 @03:54AM
(#23464665)
Unfortunately, that can happen to a much worse extent if swap is turned off. Linux will swap out all file-backed pages before invoking the OOM Killer, and since all user-space code is sitting in memory mapped pages, it will start swapping out code. And if you think waiting for disk to do a memory read is slow, imagine what waiting for disk to see what is the next available instruction can do to the system.
[ Parent
| on HN ]
There are no comments on this comment yet.