Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2000 11:02:23 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: VM load with static binaries (Re: cvs commit: ports/shells/bash2) 
Message-ID:  <200005231802.LAA09470@mass.cdrom.com>
In-Reply-To: Your message of "Tue, 23 May 2000 19:23:28 %2B0200." <20000523192328.A16012@cons.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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.

We don't support gzipped binaries anymore.

> 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).

Typical situation with anything; 

-r--r--r--  1 root  wheel  1139620 May 10 13:26 /usr/lib/libc.a
-r--r--r--  1 root  wheel   540112 May 10 13:26 /usr/lib/libc.so.4

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

Since most people run more than *just* a shell on their box (yes, I 
realise you may be weird in this case), I'd expect that the static binary 
win is imaginary.

(Note also that two identical shared binaries will also occupy the same 
 vm space...)

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




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?200005231802.LAA09470>