[ale] Anyone know if this is true?

David Tomaschik david at systemoverlord.com
Wed Oct 12 15:44:51 EDT 2011


On Wed, Oct 12, 2011 at 3:27 PM, Damon L. Chesser <damon at damtek.com> wrote:
> On Wed, 2011-10-12 at 15:13 -0400, Geoffrey Myers wrote:
>> 'Just so you all know, when determining how much space to assign to
>> swap: Swap isn't just used for paging or virtual memory management; swap
>> is also used by power management for suspend-to-disk (hibernation). '
>>
>> I seriously don't know, so I'm asking.
>
> Yes, it is true.  If you have 4GB of RAM, you need at least 4GB in order
> to hibernate and suspend to disk.
>
> All the contents of RAM are written to swap and that is used to come
> back up in the "saved" state.  This is also why, if you have encrypted
> partitions, you need to have encrypted swap as well.
>
> What I am confused about are the two names used to suspend:  the mode
> where you use zero power and everything is written to disk and the mode
> where you just shutdown the drives, screen, and only use RAM.


In the original ACPI implementation/spec, I believe they were called
suspend-to-RAM and suspend-to-disk.  Windows introduced the "sleep"
and "hibernate" nomenclature, which has now led to "suspend" and
"hibernate."


-- 
David Tomaschik, RHCE, LPIC-1
System Administrator/Open Source Advocate
OpenPGP: 0x5DEA789B
http://systemoverlord.com
david at systemoverlord.com



More information about the Ale mailing list