Maintained by: NLnet Labs

[Unbound-users] Freebsd Performance Tuning

lst_hoe02 at kwsoft.de
Tue Jan 25 16:00:20 CET 2011


Zitat von Gareth Hopkins <gabbawp at gmail.com>:

> On Tue, Jan 25, 2011 at 4:04 PM, <lst_hoe02 at kwsoft.de> wrote:
>
>> Zitat von Gareth Hopkins <gabbawp at gmail.com>:
>>
>>
>>  Hi,
>>>
>>> There any tricks out there for tuning FreeBSD to run unbound doing around
>>> 20k+ qps
>>>
>>> Machine will have 4 Cpu's and 8GB Ram
>>>
>>
>> As starting point
>> http://www.unbound.net/documentation/howto_optimise.html
>>
>> Also have a look at the follwoing points:
>> - Check if firewall is enabled and if it supports many UDP "connections"
>> - Check for the send/receive buffer max values for the OS
>> - Check the max sockets/file descriptors of the OS
>>
>> Be aware that using unbound as *validating* resolver can slow down a lot
>> due to more queries and higher computing overhead.
>>
>
> Hi Andreas
>
> Thanks for the reply.
>
> The unbound config is pretty much spot on and ready to go. I'm just looking
> for the OS tweaking bits,
> so things like, as you mention, max sockets and file descriptors, and what
> would be considered decent
> values.

Sorry, no FreeBSD knowledge here :-(
You might start here http://www.freebsd.org/doc/handbook/config-tuning.html

Regards

Andreas