<div dir="ltr">Sorry for not including a subject in the original post. <br><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 20, 2016 at 3:51 PM, Grace Wang <span dir="ltr"><<a href="mailto:xiaohong.grace.wang@gmail.com" target="_blank">xiaohong.grace.wang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span class="m_6760764250707001012gmail-m_-6872027466044098877gmail-gI"><span>Hi There, <br><br></span></span></div><span class="m_6760764250707001012gmail-m_-6872027466044098877gmail-gI"><span>I
installed pdns-recursor 4.0.3 on a CentOS 6.5 box, that has 20 physical
cores and 128G RAM. When I set the threads in
/etc/pdns-recursor/<a href="http://recursor.co">recursor.co</a><wbr>nf to be 4 or 12, then issued tons of
queries (one query sent multiple times using multiple dnsperf instances
simultaneously) at it, I noticed only 2 of the threads were working
actively, each using almost 100% CPU and ~90% CPU, respectively. The other threads were using 0% CPU. <br></span></span><br><span class="m_6760764250707001012gmail-m_-6872027466044098877gmail-gI"><span>With
a previous version pdns-recursor 3.6.0 and the same test case, I could
get 1 million qps, but with this new version that's supposed to have
better performance, I am only getting ~200k qps. <br><br></span></span><span class="m_6760764250707001012gmail-m_-6872027466044098877gmail-gI"><span>The way I installed it was by executing the following command (copied from the powerdns website):<br></span></span><br>
<span style="font-family:"helvetica neue";font-size:14px">yum install epel-release yum-plugin-priorities && curl -o /etc/yum.repos.d/powerdns-rec-<wbr>40.repo <a href="https://repo.powerdns.com/repo-files/centos-rec-40.repo" target="_blank">https://repo.powerdns.com/repo<wbr>-files/centos-rec-40.repo</a> && yum install pdns-recursor<br><br></span><div><span style="font-family:"helvetica neue";font-size:14px">The only thing I changed was local-address, allow-from, and threads (in the /etc/pdns-recursor/<a href="http://recursor.co">recursor.co</a><wbr>nf file).<br><br></span></div><span style="font-family:"helvetica neue";font-size:14px">Could you give me some insights on why this is happening, and what I should change in order to get all the threads to work?<br><br></span><span style="font-family:"helvetica neue";font-size:14px">Thanks a lot,<br></span><span style="font-family:"helvetica neue";font-size:14px">Grace</span></div>
<br>______________________________<wbr>_________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.<wbr>com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/<wbr>mailman/listinfo/pdns-users</a><br>
<br></blockquote></div><br></div></div></div>