Hi, <br><br>I am deploying a couple of unbound hosts on FreeBSD 7.2 Stable and was wondering if there are any OS tweaks you would recommend to get the best performance. Will be doing around 10000 qps at peak times. <br><br>
Boxes have 4 Gigs Memory and unbound 1.3.4 is being built from ports with both LIBEVENT and THREADS selected. <br><br>unbound.conf is as follows<br><br>server:<br><br>        # use all CPUs<br>        num-threads: 2<br>        <br>
        # power of 2 close to num-threads  <br>        msg-cache-slabs: 2<br>        rrset-cache-slabs: 2<br>        infra-cache-slabs: 2<br>        key-cache-slabs: 2<br><br>        outgoing-range: 4096<br>        num-queries-per-thread: 4096<br>
<br>        # more cache memory, rrset=msg*2<br>        rrset-cache-size: 512m<br>        msg-cache-size: 256m<br>        verbosity: 1<br>        statistics-interval: 0<br>        extended-statistics: yes<br>        statistics-cumulative: no <br>
        interface: 127.0.0.1<br>        interface: x.x.x.x<br>        outgoing-interface: x.x.x.x<br>        port: 53<br>        do-ip6: no<br>        access-control: <a href="http://0.0.0.0/0">0.0.0.0/0</a> allow_snoop<br>
        access-control: 127.0.0.1 allow_snoop<br>        chroot: ""<br>        username: "unbound"<br>        directory: "/usr/local/etc/unbound"<br>        logfile: "/var/log/unbound/unbound.log"<br>
        log-time-ascii: yes<br>        pidfile: "/var/run/unbound.pid"<br>        root-hints: "/usr/local/etc/unbound/root.servers"<br>        hide-identity: yes<br>        hide-version: yes<br>        harden-glue: yes<br>
<br># Remote control config section.<br>remote-control:<br>        # Enable remote control with unbound-control.<br>        control-enable: yes<br><br>        # what interfaces are listened to for remote control.<br>        control-interface: 127.0.0.1<br>
<br>Thanks for your time<br><br>Cheers<br><br>Gareth <br><br>