
9 Jun
2015
9 Jun
'15
6:57 a.m.
Colin Fee <tfeccles@gmail.com> writes:
On 4 June 2015 at 16:27, Trent W. Buck <trentbuck@gmail.com> 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?