From: Michael Tremer Date: Tue, 28 Mar 2017 09:17:33 +0000 (+0100) Subject: unbound: Re-use UDP sockets X-Git-Tag: v2.19-core110^2~16 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=5012e53c290b0bb60c4b4617f4ccaa7b63a6927f unbound: Re-use UDP sockets This will make UDP queries faster Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index 6ea49f5d80..00dc301e19 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -262,6 +262,7 @@ write_tuning_conf() { # We run one thread per processor echo "num-threads: ${processors}" + echo "so-reuseport: yes" # Adjust number of slabs echo "infra-cache-slabs: ${slabs}"