Subject: Re: dynamic linker
To: Wojciech Puchar <wojtek@chylonia.3miasto.net>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 03/20/2002 01:43:45
[ On Wednesday, March 20, 2002 at 06:57:20 (+0100), Wojciech Puchar wrote: ]
> Subject: Re: dynamic linker
>
> > text data bss dec hex filename
> > 35299 928 1356 37583 92cf /usr/libexec/ld.elf_so
> >
> > It's not huge, but it's not always running either......
>
> in my definition of size it IS HUGE.
Unless you're on a 4MB machine (and sometimes even then) the frequency
of its use will pretty much guarantee all the important blocks are in
buffers much of the time though, which means of course that the I/Os to
read them won't result in any actual disk activity. I.e. it's not
really that HUGE. Heck it would run fine (size-wise) on an ancient
PDP-11 (indeed with a good code generator /11 code might even be 2/3's
that big! :-)
> > Memory: 44M Act, 6944K Inact, 1904K Wired, 180M Free, 12M Swp, 1524M Swp free
> ^^^^^^^^
> this is probably good measure of how much memory does take programs
> itself. i'm not sure if it's stull true for -current with UBC
That machine _is_ running -current with UBC (1.5W as of 2001/06/24, actually)
--
Greg A. Woods
+1 416 218-0098; <gwoods@acm.org>; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>