[dns-operations] DNS server benchmarking sanity check

Anand Buddhdev anandb at ripe.net
Sat Aug 13 19:32:54 UTC 2016


On 13/08/16 20:14, Robert Edmonds wrote:

Hi Robert,

> There's the SO_REUSEPORT socket option, which has been in the kernel
> since 3.9. See this presentation for details:
> 
> Unfortunately it's not a global kernel tunable that you can just turn
> on; the daemon has to explicitly opt in by creating a separate socket
> for each worker thread and turning on the SO_REUSEPORT option for each
> socket.
> 
> Knot DNS has SO_REUSEPORT support built-in (I think it can be disabled
> at compile time), BIND doesn't, not sure about Yadifa.

Thanks for this. Both Knot and NSD have code to use SO_REUSEPORT. In
NSD, it can be turned on or off in the configuration, and so I'm testing
both modes. NSD with SO_REUSEPORT performs *much* better.

Regards,
Anand



More information about the dns-operations mailing list