[ntp:hackers] Dynamic ssl and crypto libraries

Matthias Drochner M.Drochner at fz-juelich.de
Tue Oct 25 09:29:35 PDT 2005

brian.utterback at sun.com said:
> One might be inclined to use dynamic by default

It should be considered how this influences the
amount of memory mlockall()'d to memory. ntpd with
crypto and refclock drivers is rather large.

Linking dynamically pulls in the whole libary including
lots of useless stuff (which will probably even grow
over time), while a static binary is more efficient.

(One might suggest to do the crypto processing in a
separate process which is not mlock()ed, but this looks
like a serious redesign.)

best regards

More information about the hackers mailing list