Mailinglist Archive: opensuse-factory (355 mails)

< Previous Next >
Re: [opensuse-factory] TW partitioning propsal swap
  • From: Brüns, Stefan <Stefan.Bruens@xxxxxxxxxxxxxx>
  • Date: Thu, 5 Mar 2020 19:20:29 +0000
  • Message-id: <5378791.q3ltQHcqQB@sbruens-linux.lcs.intern>
On Donnerstag, 5. März 2020 18:06:52 CET Axel Braun wrote:
I'm just installing TW on a new machine.
Partition proposal is 2GB for swap, with 16GB RAM.
Following that proposal hibernation should never work.

Wrong. It needs sufficient space to save the memory contents it can not
recreate otherwise, i.e. not disk buffers, no mmaped libraries, ...

You can determine the amount with
$> grep Active.anon /proc/meminfo
Active(anon): 6533548 kB

This can grow up to physicalmem+swap.

In your case, the amount to save is anywhere in the region 0...18G. If you
have just booted your computer, it will likely be able to suspend, when you
start firefox not so much.

Note, you can also use a swap file to hibernate. The kernel also tries to
compress the memory before writing it to disk by default.


To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups