Hi Klaus,

On 8/10/19 10:30 PM, Klaus Darilion wrote:
> I had similar results. Starting 4 listening threads and 4 receivers
> threads (by adding the same backend 4 times) boosted my performance -
> almost linear.

Similar in terms of QPS as well? I just tested master on Arch using
calidns and dumresp as a responder, and I get 55k+ QPS on my 10 year-old
CPU using no tuning, simply:

./dnsdist -C /dev/null -l

So one listening thread and one receiver thread.

A quick glance at a perf recording shows that more than 76% of the CPU
time is spent in syscalls, so I'm pretty sure disabling the
meltdown/spectre mitigations would do a big difference, but it's already
pretty far from 5-15K QPS.

If you increase the number of threads you'll need to use ring buffers
sharding to limit contention, by the way.

Best regards
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

Attachment: signature.asc
Description: OpenPGP digital signature

dnsdist mailing list

Reply via email to