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