From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3D1DF138350 for ; Fri, 24 Apr 2020 22:29:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B448E0A9F; Fri, 24 Apr 2020 22:29:28 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::608]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 057EDE0A93 for ; Fri, 24 Apr 2020 22:29:27 +0000 (UTC) Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 89CCC4200160 for ; Sat, 25 Apr 2020 01:29:25 +0300 (MSK) Received: from mxback4q.mail.yandex.net (mxback4q.mail.yandex.net [IPv6:2a02:6b8:c0e:6d:0:640:ed15:d2bd]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 8513E61E0002 for ; Sat, 25 Apr 2020 01:29:25 +0300 (MSK) Received: from vla3-4c649d03f525.qloud-c.yandex.net (vla3-4c649d03f525.qloud-c.yandex.net [2a02:6b8:c15:2584:0:640:4c64:9d03]) by mxback4q.mail.yandex.net (mxback/Yandex) with ESMTP id fm9yw5rtak-TPDuhQ1F; Sat, 25 Apr 2020 01:29:25 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1587767365; bh=pZxKCRcPb6fmptpfDZTbJEy7sb9vMc2uLiV4OevtjHg=; h=In-Reply-To:Subject:To:From:References:Date:Message-ID; b=XOCiDTB1ScszVl5Enqe+InABfztdFJ/8ZFmutqhn3ba3idL2T5XMgBi5QMejagOi4 +j7460buvdA7C01wvfGEynCFRlCFLlXQRnf+4y+Z/pl33ZcbzPf2iIhAnrj9C8YhZM ZzZi9GedOXeFgxcyMka9sQnFpm8nqedckBqUKpRY= Authentication-Results: mxback4q.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla3-4c649d03f525.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 2oZXSGEWff-TOXC3B81; Sat, 25 Apr 2020 01:29:24 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Date: Sat, 25 Apr 2020 01:30:32 +0300 From: lego12239@yandex.ru To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Is Gentoo dead? Message-ID: <20200424223032.GB23707@legohost> References: <20200422180825.GA12885@legohost> <82271c88-bd0f-aa50-8155-e7028305e0ef@gentoo.org> <1ed023fa-1785-5951-127e-c8efc2895330@gentoo.org> <20200423084546.GD16612@legohost> <6723c49f-424e-8d77-2001-1415a50309d4@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6723c49f-424e-8d77-2001-1415a50309d4@gentoo.org> User-Agent: Mutt/1.12.1 (2019-06-15) X-Archives-Salt: 64cf86d7-402c-4904-b367-c278f8cae332 X-Archives-Hash: bef185180665d22c257b6538f7bac16b On Fri, Apr 24, 2020 at 05:07:48PM -0400, Michael Orlitzky wrote: > I might believe you about speed, but not about RAM. Memory usage goes up > with static linking because you've got multiple copies of the same thing > loaded into memory. No. I told about RAM :-). Several years ago i had some research for one project. It needed to run multiple instances of the same program(several thousands of concurrent instances). We tried to achieve maximum memory economy. And we saw that when the program linked statically, each instance consume less memory starting from 6 instances. Thanks to sharing of .text segments. Thus, for something like bash a static linking isn't bad. I have now 12 instances of it running. If it would be static, then not only every script that i run during work day starts faster, but it consume a little less ram. > think I'm wrong, feel free to shoot yourself in the foot, but you > shouldn't be calling Alessandro or the QA team incompetent (that's my > bit...) unless you have some strong new evidence that static linking > improves things in a general-purpose linux distro. No-no. I didn't want to call QA team or Alessandro incompetent. May be some typo or misspelling. I just said that anybody who says "Nothing should be statically linked" is incompetent in this question. Because this is simply not true. -- Олег Неманов (Oleg Nemanov)