[Unbound-users] Optimisation options.

Leandro Anjos Moura lamoura at bsd.com.br
Thu Apr 26 05:01:53 UTC 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.
server:
        # 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


----

tks,

lamoura




More information about the Unbound-users mailing list