4 ms·
Swapping to an HDD used to be slow. Swapping to an NVMe device is incomparably faster. Swapping out the data which take longer to compute that to read from the
by nine_k 3y ago
Swapping to an HDD used to be slow. Swapping to an NVMe device is incomparably faster. Swapping out the data which take longer to compute that to read from the swap when needed does make things faster.
But for the swap to work efficiently, you still need to have enough RAM to run the things you want to run right now. The slowing to a crawl occurs when the running apps try to touch pages all over the place, requiring very frequent swapping in/out. Then yes, it's time to terminate something and free up some space.