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% :) _______________________________________________ Unbound-users mailing list [email protected] http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
