Unbound on FreeBSD 11, uses just one of 8 threads?
wouter at nlnetlabs.nl
Wed May 23 05:56:42 UTC 2018
On 23/05/18 01:45, Viktor Dukhovni via Unbound-users wrote:
> I have 8 threads configured, anyone know why unbound would
> do all the work in just one thread?
Previously people that asked this, had a usage that one thread could
satisfy. Perhaps the other cpu cores are running some other process.
It it the systems scheduler for delivering packets to the listening
network socket that determines which thread gets the content.
so-reuseport: yes reportedly improves distribution between threads on Linux.
Best regards, Wouter
> Build info:
> # /usr/local/sbin/unbound -h
> Version 1.7.1
> linked libs: libevent 2.1.8-stable (it uses kqueue), OpenSSL 1.0.2o 27 Mar 2018
> linked modules: dns64 respip validator iterator
> Configuration below my signature, stats below (the machine is
> running the DANE adoption survey, so yes, ~3.5 billion queries with
> a low cache hit rate is right):
> # /usr/local/sbin/unbound-control stats_noreset | egrep -v '=0$'
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the Unbound-users