Are such setting optimal? How to propertly calculate outgoing-range
and num-queries-per-thread with libevent?
Is it possible to know if cache size settings are enough or it must be
increased?
Hello,
the size of cache needed depends on the usage pattern. The optimal value would be to hold all not yet expired results in cache. For a busy resolver cache i would at least set the msg-cache-size to some hundred meg. Regarding the outgoing-range and num-queries-per-thread these are values which set the max "in transit" queries, so they should be as large as useful and your OS allows. If you like to use all cores you might *lower* the values to not overtax the OS because these are per thread values.