|
|
|
|
|
by ac2u
1041 days ago
|
|
Thanks for the links. I guess it makes sense to use swap space in aiding suspend to disk if some of the allocated memory is already paged out to it. I wonder though if in the [2] link you posted if you can have a swap partition for the purposes of hibernation, while also disabling swapping of memory while your machine is in-use. |
|
Maybe I can learn something here. From my understanding, the RAM image moves completely to the swap space, since the RAM memory is shut down (cleared). I thought, that's why it's calles 'suspend to disk'. During hibernation most components are in a state of being almost shut down. And that would be why you need a disk that can hold data non-volatile (eg not the RAM memory). Edit: From your comment it reads like the swap space is only for assisting the process, while from my understanding that's the place where the whole RAM image resides during sleep.
> a swap partition for the purposes of hibernation, while also disabling swapping of memory while your machine is in-use.
I thought the exact same. Avoid tear of the SSD and security implications, while having the option of hibernation (including the security implications) in case of need.