From owner-freebsd-questions Sun Jan 21 20:32:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 32D8737B400; Sun, 21 Jan 2001 20:32:11 -0800 (PST) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 21 Jan 2001 20:30:23 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.0) id f0M4W8q68974; Sun, 21 Jan 2001 20:32:08 -0800 (PST) (envelope-from cjc) Date: Sun, 21 Jan 2001 20:32:07 -0800 From: "Crist J. Clark" To: Kris Kennaway Cc: Cliff Sarginson , Mike Meyer , Gustavo Vieira Goncalves Coelho Rios , questions@FreeBSD.ORG Subject: Re: small program eats lot of memory Message-ID: <20010121203207.F10761@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: <14955.1209.195848.394006@guru.mired.org> <01012121054701.03293@buffy> <20010121152246.X10761@rfx-216-196-73-168.users.reflex> <20010121165041.A76170@citusc17.usc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010121165041.A76170@citusc17.usc.edu>; from kris@FreeBSD.ORG on Sun, Jan 21, 2001 at 04:50:41PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 21, 2001 at 04:50:41PM -0800, Kris Kennaway wrote: > On Sun, Jan 21, 2001 at 03:22:46PM -0800, Crist J. Clark wrote: > > > The purpose of shared libraries is to share _disk_ space, not memory > > space. > > No, I believe he is correct. If you have two shared programs in > memory, the VM system will only have one copy of the libc code shared > between them (similarly with any other common libraries). That's really something if it's true. I don't see any mention of features like that on rtld(1). -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message