Colin Fee <[email protected]> writes:

> On 4 June 2015 at 16:27, Trent W. Buck <[email protected]> wrote:
>> I'd need 256MiB (not 2GiB) of swap to suspend-to-disk.
>>
>>     $ free -m
>>                  total       used       free     shared    buffers
>>     -/+ buffers/cache:        211       1673
>
> Curious as to how you came to that conclusion?

Pure speculation based on the assumption that suspend-to-disk saves
*only* the active pages, i.e. excluding buffer/cache.

> https://www.kernel.org/doc/Documentation/power/interface.txt it's set
> to 2/5 of availanble RAM by default [...] setting it to zero causes
> the kernel to create the smallest image possible.

Interesting, thanks!
I guess this is to avoid slow repacking to minimize the image size?

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to