-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2017-03-23 01:40, Yamaban wrote:
On Thu, 23 Mar 2017 01:23, Carlos E. R. wrote:
1. You want suspend-to-disk aka hibernate? Your hibernate file or partition needs to be more than 50% of your RAM, 50%+1MB is minimum for "safe"
How do you make that figure? By estimating the compression and that buffers+cache do not need to be stored? But then, there might be already some swap in use.
(I have 8 GiB RAM and 1.4 GiB of swap in use)
It goes back to a situation with a postmortem of a failed hibernate, enough and motivation time on my hands and a series of try-and error.
Starting point was a 6GB RAM and 2GB swap machine. Anyting above 4GB RAM in real use (no buffer + cache) resulted in a failed hibernate.
Ah. I see. But it could also fail with less than 4 GB if it can not be compressed.
Solution was a up-size of the swap partiton to 3GB + 1MB which allowed safe hibernate in any situation we could test.
Curious!
The compression used seems to get 100% used RAM+swap down to 30% - 40% which then fits within the 50%+ rule for swap.
But compression surely varies with the data.
That test is about 9 month old.
YMMV, but I like to be on the safe side for the use of hibernation.
My figure has been 20% over the size of RAM, and considering that there may be already swap in use before starting hibernation (which is often the case with my computers). - -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljTG8AACgkQja8UbcUWM1wptgD8CZT71E9JQUpb1KfyL6ub+aCI o46BMLgJEgKxzFOoNnwA/ilu38kwwS2wFyKoHDReTX9btqPFXYQsbJOl811QM6P7 =ncYk -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org