[ale] Anyone know if this is true?
Ron Frazier
atllinuxenthinfo at c3energy.com
Wed Oct 12 17:17:52 EDT 2011
I have swap at 2X RAM on Windows machines, it's status screen usually
recommends about 1.5X. I have it set to 8GB on all my Linux dual boot
machines and my most beefy computer has 8GB of RAM. I presume it would
allow me to hibernate on those. Windows uses a separate file for
hibernation, which is always 1X RAM. I don't know what is totally
necessary for Linux. I've been known to open 120 tabs amongst 6 browser
windows at a time, so if the machine gets low on RAM, I don't want it
crashing because there's no swap.
Ron
On 10/12/2011 3:43 PM, Geoffrey Myers wrote:
> Damon L. Chesser 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.
>>
> So if you have 16GB memory, you must have 16GB of swap? Seems a bit
> inefficient. I would assume you are rarely using 16GB. Why not just
> write what is being used?
>
>
>> 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.
>>
>>
>>
>>
>
>
--
(PS - If you email me and don't get a quick response, you might want to
call on the phone. I get about 300 emails per day from alternate energy
mailing lists and such. I don't always see new messages very quickly.)
Ron Frazier
770-205-9422 (O) Leave a message.
linuxdude AT c3energy.com
More information about the Ale
mailing list