mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 00:12:58 +02:00
unbound: Increase number of parallel queries
The parameters are the recommended values for libevent Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -273,6 +273,10 @@ write_tuning_conf() {
|
||||
echo "rrset-cache-size: $(( ${mem} / 2 ))m"
|
||||
echo "msg-cache-size: $(( ${mem} / 4 ))m"
|
||||
echo "key-cache-size: $(( ${mem} / 4 ))m"
|
||||
|
||||
# Increase parallel queries
|
||||
echo "outgoing-range: 8192"
|
||||
echo "num-queries-per-thread: 4096"
|
||||
) > /etc/unbound/tuning.conf
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user