Shared libraries (was Re: Window system bashing (was Re: X11 bashing))

Marcus J. Ranum mjr at hussar.dco.dec.com
Thu May 9 13:28:02 AEST 1991


lm at slovax.Eng.Sun.COM (Larry McVoy) writes:

>I do not know (not having measured it and not really groking how
>dynamic linking works) if each libc reference costs 20milliseconds on
>first reference.   I hope not.

	I was talking this over with someone the other day who claimed
that SunOs' more recent versions have "often used" utilities like /bin/ls
statically linked because there were complaints of performance hits -
can anyone confirm or deny this? I haven't has access to a machine
running a SunOS more recent than 4.0. [I realize that "often used" and
critical utilities might be statically linked to prevent the whole
system being rendered useless by a hit on the library. Is "ldconfig"
or whatever it's called still a dynamically linked file?]

mjr.



More information about the Comp.unix.wizards mailing list