[Unbound-users] Performance tuning tips?
wouter at nlnetlabs.nl
Tue Feb 5 11:18:40 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
On 02/05/2013 12:10 PM, Jaco Lesch wrote:
> 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
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.
> Thanks for the feedback so far.
> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the Unbound-users