by throwawaaarrgh · 2y ago · 0 comments
Swap is also used by the system's hibernate function to store a copy of RAM to disk.
If you have 64GB of RAM and no combination of your apps, cache, etc will ever approach that, then probably nothing will ever swap. But for more limited systems or when running apps with higher memory pressure, swap does increase system performance.
No swap just means you think everything ever allocated should always stay in ram. In pretty much every system there's going to be a few GB that were allocated but never really needed. I'd rather that not be true but since it is I'd like that stuff paged out to give the os more file cache.
4 and 8 gb ram seem still most common.