Swap size on RAM upgrade

Rashkae ubuntu at tigershaunt.com
Thu Aug 9 00:08:08 UTC 2012


On 08/08/2012 07:35 PM, Felix Miata wrote:
> On 2012/08/09 00:56 (GMT+0200) Amedee Van Gasse composed:
>
>> If you don't use hibernation: swap can be *any* size
>
> That includes no swap partition at all. My most used system has 4G RAM
> and 8G of swap partitions. The latter is a total waste, since I keep
> both swap partitions unmounted and find no evidence of drawbacks in so
> doing.

The drawback is that rarely used memory isn't being swapped out, freeing 
the RAM to be used as performance enhancing cache instead.  Of course, 
8GB is way overkill, but even leaving a humble 1GB swap partition around 
is a good idea.  No matter how much RAM you have, the more available, 
the better.





More information about the ubuntu-users mailing list