From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21655 invoked from network); 7 Jul 2021 00:47:29 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 7 Jul 2021 00:47:29 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id AC5749CA74; Wed, 7 Jul 2021 10:47:26 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 6B0E09CA35; Wed, 7 Jul 2021 10:46:44 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 7A1719CA35; Wed, 7 Jul 2021 10:46:42 +1000 (AEST) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by minnie.tuhs.org (Postfix) with ESMTPS id DB3C89CA24 for ; Wed, 7 Jul 2021 10:46:41 +1000 (AEST) Received: from cwcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 1670kZ0n025745 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 6 Jul 2021 20:46:35 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 091B115C3CC6; Tue, 6 Jul 2021 20:46:34 -0400 (EDT) Date: Tue, 6 Jul 2021 20:46:34 -0400 From: "Theodore Ts'o" To: Tomasz Rola Message-ID: References: <20210702213648.GW817@mcvoy.com> <396911b232bae5938068a14fe0f7181e@firemail.de> <20210704004757.GB24671@tau1.ceti.pl> <20210705071450.GA12885@tau1.ceti.pl> <20210706231659.GA13225@tau1.ceti.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210706231659.GA13225@tau1.ceti.pl> Subject: Re: [TUHS] [tuhs] The Unix shell: a 50-year view X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@minnie.tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Wed, Jul 07, 2021 at 01:17:00AM +0200, Tomasz Rola wrote: > > Well, when "everything" was small enough I really liked it. Nowadays > there seems to be a trend of making Emacs into another OS, like with > abomination we call the browser. > > https://www.emacswiki.org/emacs/EmacsApplicationFramework > > As long as I am able to trim it during compilation, they may put > whatever they want inside, but when I tried to unpack one of the > latest browser source code, it took more than 2.5 gigabytes (I am not > sure, it could have been a nightmare). I hope they will not apply this > crazyness to Emacs. I hope Emacs version 23 will keep compiling for a > while. Well, the old joke was that emacs stood for "eight megabytes and constantly swapping". These days, sure, starting a fresh Emacs version 27 process has a SIZE of 364 megabytes with an RSS of 78 megabytes. OTOH, starting a fresh copy of Konsole (KDE's current terminal emulator) has a SIZE 1383 megabytes with an RSS of 114 megabytes, and the single Konsole process running all of my terminal windows has a SIZE of 2160 megabytes (or just a touch over 2GB) with an RSS of 189 megabytes. As a percentage of the 32 GB physical memory in my Desktop machine, I'm not too worried about the memory consumption of either the terminal windows or emacs, especially since the browser takes a lot more memory. These days, I run my browser in a container to limit its physical memory usage to 12GB; systemd makes setting this up via a user unit file really easy. :-) - Ted # ~/.config/systemd/chrome.service [Unit] Description=Chrome Browser [Service] ExecStart=/usr/bin/google-chrome KillMode=process MemoryAccounting=true MemoryMax=12G P.S. On my laptop I constrain the browser to only use 8GB, which just means that if I keep huge numbers of tabs open, some of them might get automatically killed and will have to get reloaded when I swtich back to that tab. Sure, this wouldn't fly on a PDP-11, but as long as I'm more productive, I don't really worry about it.