[Unbound-users] Unbound release 1.4.12

Gábor Lénárt lgb at lgb.hu
Mon Jul 18 20:26:27 UTC 2011

On Tue, Jul 19, 2011 at 01:49:38AM +0600, Andrew Savchenko wrote:
> Hello,
> On Mon, 18 Jul 2011 15:44:56 +0200 Gábor Lénárt wrote:
> > I compiled now ldns,
> > but unbound links to libldns now runtime, which - I guess - is not optimal,
> > since as far as I know shared libraries are PIC code, which causes some
> > performance loss (especially on 32 bit architecture because there is not
> > so much registers on 32 bit x86 platform).
> PIC-related slowdown is about 5% (or less) on x86 on my test including
> both multimedia and crypto operations. You are loosing much more
> performance if you are not using custom optimized kernel, libc and
> all other libraries used by unbound.

Maybe, but why would I want to use dynamic linking with ldns when I am 100%
sure that no other component on the whole system uses ldns, just only
unbound? And if I compile it "by hand" anyway, it can be called nice to
eliminate this, even if it only gives 5% or even just 0.1% :)

More information about the Unbound-users mailing list