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 Do, 20.09.18 21:53, Zbigniew Jędrzejewski-Szmek (zbyszek@xxxxxxxxx) wrote:

> On Thu, Sep 20, 2018 at 12:04:14PM -0700, Dulaney wrote:
> > On Sult 20, 2018 aig 10:59:44m -0600, sgrìobh Chris Murphy:
> > > On Thu, Sep 20, 2018 at 10:34 AM,  <mcatanzaro@xxxxxxxxx> wrote:
> > > > I've seen suggestions to use 0 as well.
> > >
> > > I would try 1. I'm pretty sure 0 will just disable swap which doesn't
> > > really help us figure out if it's just the swappiness setting being
> > > too aggressive.
> > 
> > Yeah, 0 essentially disables swap.  Go with 1.
> 
> vm.swapiness doesn't really solve the problem of
> "we need large swap so hibernation always works, but we don't
> want to use that swap for actual swapping because that'd be slow
> as hell".

We could in theory also activate the swap partition only when we need
it for hibernation, and deactivate it after hibernation, i.e. enclose
the actual hibernation operation with a tight swapon/swapoff.

That said, this feels all a bit too much like superficial tweaking to
me. If Linux swap behaviour sucks it's really up to the kernel folks
to fix it, and we shouldn't add new infrastructure around it in
userspace that tries to make it less bad without touching the actual
problems with it.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
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