unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: jbranso@dismail.de
Cc: "Pkill9" <pkill9@runbox.com>,  guix-devel@gnu.org
Subject: Re: Add earlyoom service to %desktop-services?
Date: Tue, 18 Oct 2022 08:22:09 -0400	[thread overview]
Message-ID: <877d0xxqxa.fsf@gmail.com> (raw)
In-Reply-To: <629920fbbe22ba75d973c8d1a1bddf15@dismail.de> (jbranso@dismail.de's message of "Mon, 17 Oct 2022 22:17:27 +0000")

Hi,

jbranso@dismail.de writes:

> October 17, 2022 7:24 AM, "Pkill9" <pkill9@runbox.com> wrote:
>
>> I think that the earlyoom service is a necessity for a Guix system
>> desktop.
>> 
>> For those who don't know what it does, EarlyOOM (early out-of-memory)
>> is a daemon that kills applications when the amount of memory available
>> falls below a certain percentage of the maximum, by default 10%. There
>> is already an OOM killer in the kernel, but it's too lax and
>> applications that consume too much memory can cause the system to
>> freeze.
>> 
>> I've used this for a while and many times it has kicked in and works
>> well for my laptop. I think adding it to the default desktop services
>> will give Guix System on desktop greater stability, which would
>> encourage adoption of Guix System on the desktop
>> 
>> What do you, reader, think?
>
> +1

+1, but as I mentioned in #47717, I think we'd want to have D-Bus
notifications sent by earlyoom to the desktop, so that a user knows
what's going on (especially since the earlyoom logs suck, it's not even
time stamped).

>
> Applications to kill: icecat, chromium, firefox, chromium, blender,
>  etc.
>
> I would recommend that we do include "firefox" and "chromium" as
> applications that we would kill.  I use nongnu for firefox, and 
> I bet there are others that use stock chromium or things like it.

It's already configurable; I don't think Guix should go out of its way
to add non-free items to its default earlyoom configuration.

-- 
Thanks,
Maxim


  reply	other threads:[~2022-10-18 12:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17 11:23 Add earlyoom service to %desktop-services? Pkill9
2022-10-17 18:47 ` Csepp
2022-10-17 22:17 ` jbranso
2022-10-18 12:22   ` Maxim Cournoyer [this message]
2022-10-18 14:24 ` Attila Lendvai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877d0xxqxa.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=jbranso@dismail.de \
    --cc=pkill9@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).