[Unbound-users] Performance tuning tips?
W.C.A. Wijngaards
wouter at nlnetlabs.nl
Tue Feb 5 11:18:40 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jaco,
On 02/05/2013 12:10 PM, Jaco Lesch wrote:
> Wouter
>
> Had a look at how I compiled unbound, below the details:
>
> CC="/opt/Studio12.3/solarisstudio12.3/bin/cc" CFLAGS="-m64 -Qoption
> cg -xregs=no%appl -xmemalign=8s -mt" LDFLAGS="-L/opt/local/lib/64"
>
> export CC CFLAGS LDFLAGS
>
> ./configure --prefix=/opt/local \ --libdir=/opt/local/lib/sparcv9
> \ --sysconfdir=/etc \ --with-username=dnsadmin \ --with-ldns \
> --with-libevent \ --disable-gost --disable-ecdsa
>
> OK, was not aware of the Solaris thread option will possibly make a
> big difference. Will recompile and test.
Yes, with pthreads it will not be able to use the special hardware
support in the T3.
> The SPARC T3 support up to 128 threads, so can I take the thread
> count above 64? Or shall I just make the max thread count 64 by
> default?
112 may be a good choice, but I do not know, you are the first to try
this I think.
If the T3 threads do not work faster for unbound, you may have to use
the cpu count instead of the threadcount.
Best regards,
Wouter
> Thanks for the feedback so far.
>
> Regards
>
>
> On 05/02/2013 12:09, W.C.A. Wijngaards wrote: Hi Jaco, Andreas,
>
> On 02/05/2013 10:52 AM, lst_hoe02 at kwsoft.de wrote:
>>>> Zitat von Jaco Lesch <jacol at saix.net>:
>>>>
>>>>> Does anybody have some additional performance tuning tips
>>>>> for Unbound, specificityon Solaris 11?
>>>>>
>>>>> I have followed the recommended settings in the "HowTo
>>>>> Optimise", but still seem to hit a ceiling of +/- 3600 max
>>>>> queries a second.On top of that the platform/OS do become a
>>>>> bit sluggish when logging in via SSH.
>>>>>
>>>>> Our install details: OS: Solaris 11 CPU: SPARC T3 Unbound
>>>>> ver: 1.4.18-2 (64-bit) LDNS ver: 1.6.15 (64-bit) Libevent
>>>>> ver: 2.0.20 (64-bit)
>>>>>
>>>> Hello you should clearify the following questions
>>>>
>>>> Which part of the "HowTo Optimise" do you use and how? What
>>>> is the load on your system as of CPU power used? Have you
>>>> checked the upstream connection or forwarders used? Do you
>>>> use DNSSEC? What kind of data do you use for testing?
>>>>
>>>> Without this no one will be able to tell why your system max
>>>> out at 3600qps.
> The sparc T3 has special hardware threads. Unbound has an option
> to use the solaris thread library, configure --with-solaris-threads
> and perhaps with the sun compiler (CC=/opt/.../cc). If the
> hardware threads really work, then with num-threads up to 64 (or
> your number of hardware support), you could, potentially (this has
> not been tried) get up to 64x your previous performance.
>
> Best regards, Wouter
>
>> _______________________________________________ Unbound-users
>> mailing list Unbound-users at unbound.net
>> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJREOqQAAoJEJ9vHC1+BF+N7fEP/0nCdnkCi5gB1v2PY2FHbBQl
udpNzmchwXwuMzusS8jgrt34obITQWWbQTuMp9eQ7M+ZvSSroLYT/Ws//8q5CDb8
l2uL6Z7i8TZk9hrKVcouaOmlGku5orkrrM9bQFjDgVuLnugPstDTccW+EtpzG+VI
jbkzfEfa9KovsiVQxb4HwVPs2fVDLXDRAXALU0z8ouZjlok+D1BvnQuinrbVX2G/
wJrIKznjhicn9NHGVdzEdnisUyQxQUkU2l6vDibmk3AGztU8u0j0/7SnaHd8nlFO
/4c2cYG1CGfd5o3bPvyd93I/+8LYhCJrktTLmfQKjvBsjsaRvR7xgKONTFmjnhAP
cVthTEfmZRp1PB6hjy5FqKx4Cul6/JbAOtmUfaRvyxEAaPg2F+YrUGFjSLoHJuqb
znHNv7/Eyl/9lZ2L2l7bQyKzYeS8z6jCUxauYgYK0Hqajzcc5PwlOcjoPXmGhV6p
0SiuSqnGDZ75qq/tSzv2eV6vVjOl0rL6IrFgUhU1tznRo+y78PJK0Vkl66ECuzoi
ETmIDdpckQ9fUwxUHdLgvTXCh8uOdA2d324ym5QAWvsbnL2PjTWWIcM3k5AnB4Eo
u7W364utbOrO77jbuPAlTKK9875mmFSi0Ifl3+OfGg5KmAdSnB+1mZabp4Am4FQ4
H3JvtaPqboDOqe31nQrQ
=sXbP
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list