Enable hibernation

Oliver Grawert ogra at ubuntu.com
Tue Jan 7 09:57:11 UTC 2014


Am Montag, den 06.01.2014, 16:40 -0500 schrieb Phillip Susi:
> On 1/6/2014 3:35 PM, Steve Langasek wrote:
> > As far back as the Maverick (i.e., 10.10) release notes[1], we
> > prominently documented the fact that the hibernate option was not
> > reliable:
> > 
> > Hibernation may be unavailable with automatic partitioning. The
> > default partitioning recipe in the installer will in some cases
> > allocate a swap partition that is smaller than the physical memory
> > in the system.  This will prevent the use of hibernation
> > (suspend-to-disk) because the system image will not fit in the swap
> > partition.  If you intend to use hibernation with your system, you
> > should ensure that the swap partition's size is at least as large
> > as the system's physical RAM.  (345126) 
> > https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/345126
> 
> Most of the time you don't actually need swap >= physical ram.  If you
> only have 1 GB of ram in use at the time you try to hibernate, you
> only need 1 GB of swap, even if you have 4 GB of ram.  If you install
> uswsusp, you might even need less as it compresses the pages as it
> writes them out.

not to mention that it only writes out the dirty pages (or did that
change ?) that's unlikely "all of your ram" ...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20140107/2dfbffc2/attachment.sig>


More information about the kernel-team mailing list