Re: Disable (or make configurable and default to off) suspend-then-hibernate behavior in GNOME-3.30

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2018-09-14 at 16:54 +0000, Zbigniew Jędrzejewski-Szmek wrote:
> 
> IMHO it is better to disable hibernation in systemd if we know it
> cannot work rather than disable s2h permanently in gnome.
> In particular, it is fairly easy to tweak systemd to understand the
> 'noresume' parameter and notice the lack of 'resume=' (Long term we
> want to make hibernation work without resume=, but until then.)
> I'll try to get this ready before F29 final.
> 
> That should solve the case of "configuration" issues, and will leave
> us only with those cases where the kernel drivers have issues.

Well, it was suggested upthread that even if resume= is set, swap could
well be too small. Per its comments, for instance, anaconda certainly
does not ensure that swap size is larger than RAM size:

    # the succeeding if-statement implements the following formula for
    # suggested swap size.
    #
    # swap(mem) = 2 * mem, if mem < 2 GiB
    #           = mem,     if 2 GiB <= mem < 8 GiB
    #           = mem / 2, if 8 GIB <= mem < 64 GiB
    #           = 4 GiB,   if mem >= 64 GiB

it's going to be exactly equal to memory size or smaller than memory
size on almost all modern systems, according to that at least.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
desktop mailing list -- desktop@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to desktop-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/desktop@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux