2 ms·
The long freezes you describe come from thrashing, when memory is at its limit. Forget about background apps/tabs, you simply don't have enough memory period. S
by crazygringo 4y ago
The long freezes you describe come from thrashing, when memory is at its limit. Forget about background apps/tabs, you simply don't have enough memory period. Swapping doesn't perform miracles.
And I was clear I wasn't talking about severely underprovisioned machines, such as you are describing. In normal usage where background apps/tabs are swapped out preemptively, there is no performance hit at all. And then when they're reloaded from swap -- yes, it's extremely fast. It's like loading a web page from your local drive, only even faster because it doesn't have to be interpreted.
If you're dealing with freezes of 20 seconds to several minutes, your machine is severely underpowered or somehow seriously misconfigured. You need to upgrade, not complain about how swap doesn't work.