<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">​​</div><div class="gmail_default"><font face="monospace, monospace">Hi there,<br><br>I create a fork from github of unbound, and made my changes to include a Shared Memory like I said before in another mail.<br><br>I put my changes here. <a href="https://github.com/softov/unbound">https://github.com/softov/unbound</a><br><br>This make 2 SHM instances and when there is a timer to stats-interval, this will full fill the memory.<br><br>So others daemons are able to read those stats really fast.<br><br>I have a daemons, reading this stats each second.<br><br>Now I will make a release of this changes for my clientes.<br><br>I have ~2300 clients running my SO, called FreeBRS.<br>For those clients, the average of requests are between 50 and 1500 per second.<br>I can get 80% of HIT.<br><br>I all clientes, the CPU consume is 0%, while using my own daemon (who use ssl in a tcp connection, like unbound-control) the CPU increase ~3% in my daemon and ~2,5% in unbound.<br><br><br>This is the right way to grab this info.<br>But, there is more to do about this.<br>Like<br>1 - setting variables in conf (I don't know how)<br>2 - reset shared memory - zerofill values<br>3 - A header file.h to be referenced in the binary who is reading this info<br><br>What I can do to make a pull request?<br><br></font><br clear="all"></div></div>