* Add earlyoom service to %desktop-services?
@ 2022-10-17 11:23 Pkill9
2022-10-17 18:47 ` Csepp
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Pkill9 @ 2022-10-17 11:23 UTC (permalink / raw)
To: guix-devel
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Add earlyoom service to %desktop-services?
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 14:24 ` Attila Lendvai
2 siblings, 0 replies; 5+ messages in thread
From: Csepp @ 2022-10-17 18:47 UTC (permalink / raw)
To: Pkill9; +Cc: guix-devel
Pkill9 <pkill9@runbox.com> writes:
> 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?
Good idea, iff it works on i686. Last time I checked it wasn't
building, or rather the docs weren't. That's why I can't use it on my
netbook, which needs it the most.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Add earlyoom service to %desktop-services?
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
2022-10-18 14:24 ` Attila Lendvai
2 siblings, 1 reply; 5+ messages in thread
From: jbranso @ 2022-10-17 22:17 UTC (permalink / raw)
To: Pkill9, guix-devel
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
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.
Just me 2 cents.
Joshua
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Add earlyoom service to %desktop-services?
2022-10-17 22:17 ` jbranso
@ 2022-10-18 12:22 ` Maxim Cournoyer
0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2022-10-18 12:22 UTC (permalink / raw)
To: jbranso; +Cc: Pkill9, guix-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Add earlyoom service to %desktop-services?
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 14:24 ` Attila Lendvai
2 siblings, 0 replies; 5+ messages in thread
From: Attila Lendvai @ 2022-10-18 14:24 UTC (permalink / raw)
To: Pkill9; +Cc: guix-devel
another +1 from me, too: i've been greatly annoyed by this on my 8GB laptop. on 16GB i'm still occasionally screwed when i compile something large.
i've spent quite some time trying to configure the kernel to no avail.
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“There is never a better measure of what a person is than what he does when he's absolutely free to choose.”
— William M. Bulger
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-10-18 14:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-10-18 14:24 ` Attila Lendvai
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.