Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2000 19:23:28 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Doug Barton <DougB@gorean.org>
Cc:        "Andrey A. Chernov" <ache@FreeBSD.ORG>, Martin Cracauer <cracauer@cons.org>, Kris Kennaway <kris@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   VM load with static binaries (Re: cvs commit: ports/shells/bash2)
Message-ID:  <20000523192328.A16012@cons.org>
In-Reply-To: <392ABC79.AE7FF486@gorean.org>; from DougB@gorean.org on Tue, May 23, 2000 at 10:14:33AM -0700
References:  <200005072033.NAA29021@freefall.freebsd.org> <Pine.BSF.4.21.0005071518240.38184-100000@freefall.freebsd.org> <20000507165758.A81840@freebsd.org> <20000523122429.A36447@cons.org> <20000523035703.A57649@freebsd.org> <20000523133533.A11542@cons.org> <20000523050203.A73699@freebsd.org> <392ABC79.AE7FF486@gorean.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In <392ABC79.AE7FF486@gorean.org>, Doug Barton wrote: 
> "Andrey A. Chernov" wrote:
> > 
> > On Tue, May 23, 2000 at 01:35:35PM +0200, Martin Cracauer wrote:
> > > OK, thats fine for me, but you should send a short notice to the
> > > committer of additions you remove, especially when you didn't
> > > understand them.
> > 
> > I think the commit message itself is a sort of such notice.
> > Fell free to re-add your fixed patch afterwards.
> > 
> > > You removed
> > >   CONFIGURE_ENV=      LDFLAGS=-static
> > > in version 1.34 of Makefile (ELF updates)
> > 
> > I'll restore it.
> 
> 	Personally I would prefer that static linking be an option, as it is in
> the zsh port. I actually use bash, and I would prefer not to have half a
> dozen statically linked instances of it running.

Do you realize that several running instances of one static binary
share the same VM space and cause *less* system load?  Unless you use
gzip'ed binaries, of course.

Shared libraries are only an advantage (with regards to VM space) when
several *different* binaries that are linked to the *same* shared
library run simultaneously (typical X11 situation).

I suggest that you look up the relevant discussions with John Dyson in
the mail archives and adjust the zsh accordingly.

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000523192328.A16012>