3 ms·
Yep the lesson a lot of people who claim 'no swap is better' need to learn is that your OS is always swapping, even without a swap file. The lack of swapfile ju
by AnotherGoodName 4y ago
Yep the lesson a lot of people who claim 'no swap is better' need to learn is that your OS is always swapping, even without a swap file. The lack of swapfile just removes some flexibility in how that's handled.
The OS will page in files that are being accessed regularly. Without a swap file you don't stop the OS swapping between memory and disk, that'd be pathological since disk access is that much slower.
Instead what not having a swapfile really means is that you are telling the OS "anything allocated ever on the system is more important than disk cache".