[Unbound-users] Performance tuning tips?

Jaco Lesch jacol at saix.net
Tue Feb 5 11:10:35 UTC 2013


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.

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?

Thanks for the feedback so far.

Regards


On 05/02/2013 12:09, W.C.A. Wijngaards wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.13 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBAgAGBQJRENpxAAoJEJ9vHC1+BF+NKS8P/jeDhnAemVslEvEws47N3VV4
> B/YWsVo+2gcchJ0AgJ5eKRHTS4Bz/UxtdEeVnNXwy1IdyBgh1PzihnmNEvZYPxAm
> hvCG5Ex4zpatN71kDsWyQTLAz3jtFmqJUDE+VA86Tq/G7MwPLTGYjxDqFltEuUN+
> PAOeptFgy0ERQ3Ms4Fo8SUWR7zckFI5EXnE3DJFvCvue24N9dMvPa4jJ27+V4xWG
> 9iMHqRWjqPnziEnTzQ+6lUksSYZFH4QUCrvYiG4ORbL3RAYsx8w+A0cAuQ1vkx2d
> lws4roWM/CWY3xWG/8xjiUG26DRO2AsYM3fd4+Bw8i6uy/560/zj9Vri0+fRvR3Y
> 3PrVtSjPgZdztaj/IdoJgIlD/bh9dqw9QcdER7NpKT1UKfpx5vj0qm6vBkidjTG+
> 5mP6rFXUS9lSjhDa7LKk/eHZ+zkoqo0wrr2J0rHKDJgtoSwAtgA29/twEmkCTzKh
> 0oILu4WkeUVom2DYubEHXZPj+t9UFAOb4Qu7U4w8FioIVxrUxkFu4aI9Uu3fFKA6
> wvRI7n4GmlAyxqvGF9yMZCMPBrwFQsQYpfUE1Q+g6R+TkGj5IJtzfmuP2Cho9IYW
> x7Xb0iA/XeDZbM64g0+KlaoUaib8DQDmw8w6luhQTmXXX69EDAOm58kuppmDVEND
> WJkMcD8SXcrDABuNb1WW
> =Tdj8
> -----END PGP SIGNATURE-----
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

-- 
---
Jaco Lesch
SAIX HLS
Email: jacol at saix.net




More information about the Unbound-users mailing list