Maintained by: NLnet Labs

[Unbound-users] Optimisation options.

Leandro Anjos Moura
Thu Apr 26 07:01:53 CEST 2012

Hi my nickname lamoura.

Guys, help me please.

I have two servers :
1º - 8 cores, 16 gb ram
2º - 16 cores, 16 gb ram

What best values for the options below?

# some optimisation options.
        # use all CPUs
        num-threads: <number of cores>
        # power of 2 close to num-threads
        msg-cache-slabs: <same>
        rrset-cache-slabs: <same>
        infra-cache-slabs: <same>
        key-cache-slabs: <same>

        # more cache memory, rrset=msg*2
        rrset-cache-size: 100m
        msg-cache-size: 50m

        # more outgoing connections
        # depends on number of cores: 1024/cores - 50
        outgoing-range: 950

        # Larger socket buffer.  OS may need config.
        so-rcvbuf: 4m
        so-sndbuf: 4m