From owner-freebsd-current Thu Oct 31 0: 4:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7313337B401 for ; Thu, 31 Oct 2002 00:04:14 -0800 (PST) Received: from tara.freenix.org (keltia.freenix.org [62.4.20.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFB7243E77 for ; Thu, 31 Oct 2002 00:04:13 -0800 (PST) (envelope-from roberto@tara.freenix.org) Received: by tara.freenix.org (Postfix/TLS, from userid 101) id 059892A90; Thu, 31 Oct 2002 09:04:12 +0100 (CET) Date: Thu, 31 Oct 2002 09:04:12 +0100 From: Ollivier Robert To: current@FreeBSD.ORG Subject: Re: libc size Message-ID: <20021031080412.GB77041@tara.freenix.org> Mail-Followup-To: current@FreeBSD.ORG References: <20021030214158.CB6EA2A88D@canning.wemm.org> <20021030221417.J22480-100000@herring.nlsystems.com> <20021031053202.GA26280@HAL9000.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021031053202.GA26280@HAL9000.homeunix.com> X-Operating-System: FreeBSD 5.0-CURRENT K6-3D/266 & 2x PIII/800 SMP User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG According to David Schultz: > Memory is even less of an issue; if a thousand copies of a shell > are running, their text gets shared regardless of how they are > linked. IIRC not exactly. In the dynamic case, some fixups are done by the dynamic linker to "link" with the shared libs and that force the pages to be COW'd thus taking more VM. That's why static binaries are more efficient too. (someone who understand these issues please correct me if necessary) -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 5.0-CURRENT #80: Sun Jun 4 22:44:19 CEST 2000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message