Maintained by: NLnet Labs

[Unbound-users] Optimisation options.

Leandro Anjos Moura
Thu Apr 26 17:34:53 CEST 2012


Tks.

Em 26 de abril de 2012 06:31, <lst_hoe02 at kwsoft.de> escreveu:

>
> Zitat von Leandro Anjos Moura <lamoura at bsd.com.br>:
>
>
>  Hi my nickname lamoura.
>>
>> Guys, help me please.
>>
>> I have two servers :
>> 1º - 8 cores, 16 gb ram
>> 2º - 16 cores, 16 gb ram
>>
>> What best values for the options below?
>>
>> # some optimisation options.
>> server:
>>        # use all CPUs
>>        num-threads: <number of cores>
>>
>>        # power of 2 close to num-threads
>>        msg-cache-slabs: <same>
>>        rrset-cache-slabs: <same>
>>        infra-cache-slabs: <same>
>>        key-cache-slabs: <same>
>>
>>        # more cache memory, rrset=msg*2
>>        rrset-cache-size: 100m
>>        msg-cache-size: 50m
>>
>>        # more outgoing connections
>>        # depends on number of cores: 1024/cores - 50
>>        outgoing-range: 950
>>
>>        # Larger socket buffer.  OS may need config.
>>        so-rcvbuf: 4m
>>        so-sndbuf: 4m
>>
>>
> Hello
>
> i guess you have already read http://www.unbound.net/**
> documentation/howto_optimise.**html<http://www.unbound.net/documentation/howto_optimise.html>.
> The question remain what your servers are used for. If you use them as
> caching resolver for a larger number of clients you should use a libevent
> enabled version of unbound and raise the outgoing-range and
> num-queries-per-thread.
>
> Regards
>
> Andreas
>
>
>
> ______________________________**_________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/**mailman/listinfo/unbound-users<http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20120426/8b13cf9f/attachment.html>