2 ms·
Not guaranteed, there's more than swap that the kernel can use, such as mmap. Disabling swap is a very coarse optimization. The ultimate problem is performance
by dale_glass 3y ago
Not guaranteed, there's more than swap that the kernel can use, such as mmap.
Disabling swap is a very coarse optimization. The ultimate problem is performance. If you have 16GB RAM + 10GB of stuff sitting completely idle, that works perfectly fine. If you have 16GB RAM + no swap + a process that requires 15GB RAM and uses all of that constantly, it's going to be painful, as the kernel tries to compensate by squeezing memory out of anywhere it can, over and over.