Re: BIND 9.10 IPv6 performance

2015-03-09 Thread Phil Mayers

On 08/03/15 16:09, Carsten Strotmann wrote:

Hi,

I'm doing some performance tests on some modern Haswell CPU machines (20
cores) using Ubuntu Linux 14.04 (Kernel 3.13.0-46-generic) using BIND
9.10.1-P2 compiled with --with-tuning=large.

With using 8 worker threads I get near 400K QPS via IPv4 UDP (from a hot
cache without resolving), which is a good. CPU utilization as seen by
top is near 800%, as expected (8 cores fully used).

When I switch BIND 9 to listen on IPv6 only, the performance drops to
less than 60K QPS.


Just for testing, what happens if you remove the allow-recursion ACL?

Wondering if the IPv6 ACLs are slower; they should be, IPv6 ACLs having 
to process more data, but it would be kind of surprising if that were 
having a measurable effect on query rates.

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


BIND 9.10 IPv6 performance

2015-03-08 Thread Carsten Strotmann
Hi,

I'm doing some performance tests on some modern Haswell CPU machines (20
cores) using Ubuntu Linux 14.04 (Kernel 3.13.0-46-generic) using BIND
9.10.1-P2 compiled with --with-tuning=large.

With using 8 worker threads I get near 400K QPS via IPv4 UDP (from a hot
cache without resolving), which is a good. CPU utilization as seen by
top is near 800%, as expected (8 cores fully used).

When I switch BIND 9 to listen on IPv6 only, the performance drops to
less than 60K QPS.

When I run the tests using Unbound (same machine, same OS, 8 threads), I
do not see a significant difference between the IPv4 and IPv6
performance, which should rule out an issue in the kernel or with the
DNS load generation.

Testing with 9.9.6-P2 shows a similar pattern.

The configuration is simple:

options {
 directory /var/named;
 listen-on { none; };
 listen-on-v6 { any; };
 recursive-clients 1;
 tcp-clients 1000;
 allow-recursion { 2001:db8::/48; };
};

zone . {
 type hint;
 file root.hint;
};


Has anyone seen such an performance drop on IPv6?

Carsten


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users