[766] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

Re: Shared library for zephyr

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sat Apr 6 04:34:51 1996

Date: Sat, 6 Apr 1996 04:34:47 -0500
From: Greg Hudson <ghudson@MIT.EDU>
To: "Mr. Root" <root@marko.dorm.auburn.edu>
Cc: bug-zephyr@MIT.EDU
In-Reply-To: "[765] in Zephyr_Bugs"

> Are there any plans for taking advantage of the new shared library
> stuff for ELF with the zephyr service?  On my linux box, each zwgc
> uses about 1.5 megs of RAM (which seems a bit high to me) and I'd be
> interested to know if there are plans for doing that or if you can
> tell me of ways to shrink the executables.  I'm running
> zephyr-2.0.2...  Thank you for your time.

zwgc is only 140K in size and uses about 330K of data on my machine (a
NetBSD machine, but it shouldn't matter much); I don't know why zwgc
is using so much memory on your machine.  At any rate, Linux shares
text segments, so having multiple zwgcs shouldn't use any more memory
from executables than having one zwgc.  Using a shared libzephyr
library could make things worse, in fact, since the whole libzephyr
library would have to be mapped, not just the object files used by
zwgc.  (Some text could be shared with the zhm, though.)


home help back first fref pref prev next nref lref last post