<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>Hi,</div>
<div> </div>
<div>I am planning to use Unbound v1.4.4 on OpenBSD 4.5 (i386) to replace my current bind9 instances.</div>
<div> </div>
<div>Currently I am running it as test on one of my low traffic dns servers ( about 1k request per second).</div>
<div> </div>
<div>But what I notice is that 1 process is serving almost all traffic while the other process is handling only a fraction of the requests.</div>
<div> </div>
<div>The compile options I used are:</div>
<div>./configure --prefix=/opt/unbound-1.4.4 \</div>
<div>--with-ssl=/usr \</div>
<div>--with-libevent=/usr \</div>
<div>--without-pthreads \</div>
<div>--with-chroot-dir=/var/unbound \</div>
<div>--with-pidfile=/var/run/unbound.pid \</div>
<div>--with-conf-file=/var/unbound/etc/unbound.conf \</div>
<div>--with-username=named</div>
<div> </div>
<div>Mofified parameters in Unbound.conf</div>
<div>verbosity: 1</div>
<div>extended-statistics: yes</div>
<div>num-threads: 2</div>
<div>outgoing-range: 1024</div>
<div>msg-cache-size: 300m</div>
<div>num-queries-per-thread: 1024</div>
<div>rrset-cache-size: 600m</div>
<div>do-ip6: no</div>
<div>access-control: 0.0.0.0/0 allow</div>
<div>prefetch: yes</div>
<div>prefetch-key: yes</div>
<div>module-config: "iterator"</div>
<div> </div>
<div> </div>
<div> </div>
<div>Here is an output of the stats</div>
<div># /opt/unbound-1.4.4/sbin/unbound-control stats</div>
<div>thread0.num.queries=44189</div>
<div>thread0.num.cachehits=33671</div>
<div>thread0.num.cachemiss=10518</div>
<div>thread0.num.prefetch=1371</div>
<div>thread0.num.recursivereplies=10518</div>
<div> </div>
<div>thread1.num.queries=2361021</div>
<div>thread1.num.cachehits=2203077</div>
<div>thread1.num.cachemiss=157944</div>
<div>thread1.num.prefetch=24706</div>
<div>thread1.num.recursivereplies=157935</div>
<div> </div>
<div>total.num.queries=2405210</div>
<div>total.num.cachehits=2236748</div>
<div>total.num.cachemiss=168462</div>
<div>total.num.prefetch=26077</div>
<div>total.num.recursivereplies=168453</div>
<div> </div>
<div>I do not expect a perfect 50/50 load distribution, but this is totally unbalanced.</div>
<div> </div>
<div>Does anyone have a clue what is happening here? And how I can solve this.</div>
<div>I really would like to use unbound in forked mode…..</div>
<div> </div>
<div>Thanks,</div>
<div>Michael</div>
<div> </div>
</font>
</body>
</html>