<div dir="ltr"><div><span class="gmail-m_-6872027466044098877gmail-gI"><span>Hi There, <br><br></span></span></div><span class="gmail-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/recursor.<wbr>conf 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="gmail-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="gmail-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/<wbr>repo-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/recursor.<wbr>conf 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>