Subject: Re: RD53s and swapping
To: Anders Magnusson <ragge@ludd.luth.se>
From: Lord Isildur <mrfusion@crue.jdwarren.com>
List: port-vax
Date: 01/25/1999 15:37:03
but shared texts (which weve enjoed since very early BSD releases) does
the same thing! the real selling point of shared libs is to save disk,
to be able to update your programs wihtout recompiling them by updating 
a library instead. with shared text only one copy of the text is resident
anyways! 
ok ok ok ill grant ya that  there is the one copy of a lib function at a time
in memory, but that payoff isnt that big.. its in disk where it saves a lot of
space... 
ymmv

happy hacking
isildur


On Mon, 25 Jan 1999, Anders Magnusson wrote:

> > 
> > As for memory shartage, having shared libraries really don't help you at
> > all. Actually, you'll likely loose some.
> > 
> > The libraries are shared on disk, not in memory.
> > It will do wonders for disk space, though...
> > 
> > I'm not sure under which circumstances code is shared under current BSD.
> > Someone please enlighten me. I'm still at the old sticky-bit stadium...
> > 
> You sure is! 
> Shared libraries is a real wonder for memory usage. All contents in a
> shared library is shared among all processes that uses it. There will
> for example be only one instance of libc in memory. (except for
> writable data, of course :-)
> There would be no point of having shared libraries if they weren't shared :-)
> 
> -- Ragge
>