From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cMi/OTGcTmMUMQAAbAwnHQ (envelope-from ) for ; Tue, 18 Oct 2022 14:29:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AArGOTGcTmP8OwAAauVa8A (envelope-from ) for ; Tue, 18 Oct 2022 14:29:37 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 76EE738B85 for ; Tue, 18 Oct 2022 14:29:37 +0200 (CEST) Received: from localhost ([::1]:57400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oklix-0000Rs-56 for larch@yhetil.org; Tue, 18 Oct 2022 08:29:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oklby-0000NS-C4 for guix-devel@gnu.org; Tue, 18 Oct 2022 08:22:22 -0400 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:35597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oklbo-0008Uc-O9 for guix-devel@gnu.org; Tue, 18 Oct 2022 08:22:20 -0400 Received: by mail-qt1-x834.google.com with SMTP id g16so4654745qtu.2 for ; Tue, 18 Oct 2022 05:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=4U5Febn0ddRsy2HNIU1IjTYju58VSIJgb5ghRNgwDUA=; b=lvfOmCER8AMwd4IFPE8+qc2t+Wchig2TVXhLp0bm87c3W2E+qbIZjDNhfY4+ZtuhFZ QxYBW8vGuLWRNz0cDgfl7gYfAjKIMt38KhnpnH15TBZzCsqphD2Hwhh82yqnJCIqfM81 kw7hJ8ogTvr9WFaVeWsLLWFgrBQmQ46Zgfgk44k5I79Kh6wkrDxqZdUmYQpGdtR7WZ4G 0wkDhQsuM+6/gzC0wX88/9+76O1oyo4lyVgWRpa9cyTKz3R/qB/U/Il0iYHAaguN/rYj qj85nRKI3yI5a6QIRgj1q9gebgkU9hOXh/csTgO/6M8yLU3TaNB11d+8IgTmL7741pgd WQ+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4U5Febn0ddRsy2HNIU1IjTYju58VSIJgb5ghRNgwDUA=; b=H3rR+/JHuT9tglMrP+7R/oEYxitGChDyYchm04iNr40ykC4p6VsWYr/8ASej2GpOsC dAf4GaKEvwOC3p24IrJQW9j2uevTsZiPKr/rqM/uFpV4i6V915As6MggJw5Htq85hYAG d0ozUUpmLRTIiW69Ghj7B2jyVfnQQO9hYVMhLWRgXMlD/ZzW+9UcqjANE5P44KxasGCf XjwWYbV63yg7CYd9bVZicuYr0hx+PyjxIhO0aSIqeO7kQ7OvNE/67itwcI+7m9h2XBnk 23SYGXCThZVgekJ/CGjpsfiLWz5D6iKCTMHXOTsNgE3IO6jIQf0T1AAOlv8UHCbez0Bu RU0A== X-Gm-Message-State: ACrzQf0QGDbKwGMh7A1LC/TGSIg4vf6b1XlHSxfOZs4D9ASmpx5HZcQB rwtxF2mL/n6yFOJwh6GiSzMpJP10yNc= X-Google-Smtp-Source: AMsMyM48OuhBdzYpmBsNsdJShznZSpb/DDwRkISYIZU/6gUKu2eIYBXUULYKi64BqRrzfmyO8vQdFg== X-Received: by 2002:ac8:5dcd:0:b0:397:b7ee:d586 with SMTP id e13-20020ac85dcd000000b00397b7eed586mr1841869qtx.562.1666095730947; Tue, 18 Oct 2022 05:22:10 -0700 (PDT) Received: from hurd (dsl-154-51.b2b2c.ca. [66.158.154.51]) by smtp.gmail.com with ESMTPSA id s7-20020a05620a254700b006ec59941acasm2357355qko.11.2022.10.18.05.22.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 05:22:10 -0700 (PDT) From: Maxim Cournoyer To: jbranso@dismail.de Cc: "Pkill9" , guix-devel@gnu.org Subject: Re: Add earlyoom service to %desktop-services? References: <20221017122330.0aea0d40@runbox.com> <629920fbbe22ba75d973c8d1a1bddf15@dismail.de> Date: Tue, 18 Oct 2022 08:22:09 -0400 In-Reply-To: <629920fbbe22ba75d973c8d1a1bddf15@dismail.de> (jbranso@dismail.de's message of "Mon, 17 Oct 2022 22:17:27 +0000") Message-ID: <877d0xxqxa.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x834.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666096177; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4U5Febn0ddRsy2HNIU1IjTYju58VSIJgb5ghRNgwDUA=; b=Mrf5eBji4cnfrXGxcGGm6sT1PKvphz4zi6zIqXK1Bd+DqxwwHo9QNHYbDZOdelcvD75DCD vaqwMcoWKHgdQsL0LkHQhtTFRZmkdM29deEpj+nMDIAtm0lrUgjbAre4qT5Iv+qcfrTRwK WKJIEE7Zs/8+kdtxA5ZYz7wLfYZo7ypqiLncBRdVcsG45dh7oRWCHCp+bn3VggMA8hfU/D Dxap1YuVqmaFOnVfLlsFsAB4RmheiDGsVOe4Nuk3IaYR0+mt5NzqLe0DqYGp8gcGjWgb6k REErOIyLstdQMVqE0IIEHnv2VCqA8FLmU8WJpnpham1BlJ5nxoV30oFZJhNzFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666096177; a=rsa-sha256; cv=none; b=enWCqVxJYiMkqSNhXiTTBTQHBeyapsRjjR8RDHkAeMRIU7ZI1SJo+rixg8vqjm56dy7yaB iPFtmc+tmeUbszG28iDO3xtapsUGiBf7LV5bKv1GHWLjcIrUvo/9argUXG8Bzt+6TgKvbN o3xgt+J63R/qafHb7JAec6rRswS8MIEfXapkQfwbfZ6XMv70C6Y0Y+eubAnT216kwkMcWr cJTYTjqqcmlbEdFhH8pSEvmbBZ14W8NnrRCgDjef83XHNzyGEw8tOsyaDOBJ2rWHtFeJpZ oKs7nuciUM1ZoXFwg6xjbK5K/s0+vkSTfaAdn2c7B6xFWwSRU5sgK80pgANjTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lvfOmCER; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.72 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lvfOmCER; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 76EE738B85 X-Spam-Score: -7.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: yvxQMD7vGVTs Hi, jbranso@dismail.de writes: > October 17, 2022 7:24 AM, "Pkill9" 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