On Thu, 23 Mar 2017 01:23, Carlos E. R. wrote:
On 2017-03-23 00:30, Yamaban wrote:
On Wed, 22 Mar 2017 21:23, Axel Braun wrote:
Partition proposal was: 2GB - Swap 40GB - btrfs root 840GB - XFS home
2GB swap with 8GB RAM does not sound healthy for hibernation - should the proposal not be at least the RAM size?
Two shoutouts here:
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. Solution was a up-size of the swap partiton to 3GB + 1MB which allowed safe hibernate in any situation we could test. The compression used seems to get 100% used RAM+swap down to 30% - 40% which then fits within the 50%+ rule for swap. That test is about 9 month old. YMMV, but I like to be on the safe side for the use of hibernation. - Yamaban. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org