optimal(?) layout of fedora 19 with one SSD drive and one regular HD?

Chris Murphy lists at colorremedies.com
Tue Dec 3 17:41:53 UTC 2013


On Dec 3, 2013, at 7:52 AM, Tim <ignored_mailbox at yahoo.com.au> wrote:

> Allegedly, on or about 02 December 2013, Joe Zeff sent:
>> Conventional wisdom used to be that your swap should be twice the size
>> of your RAM.
> 
> If you want to be able to suspend to hard drive, then swap *needs* to be
> bigger than RAM.

Maybe.

https://bugzilla.redhat.com/show_bug.cgi?id=1037472

FYI anaconda isn't currently computing the swap partition size needed for hibernation. 

The computation depends on how much memory you have. Since the OP said  the laptop has 16GB RAM, that means it's mem + mem / 2 or 24GB recommended for swap. That's probably more than sufficient. A kernel dev wrote elsewhere that swap is compressed, so a swap amount less than memory might work. But if it's the same as memory it should always work.

https://git.fedorahosted.org/cgit/blivet.git/tree/blivet/devicelibs/swap.py

The formula there has swap anywhere from 1.5x to 3x memory, to configure for hibernation.

Chris Murphy


More information about the users mailing list