]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Bump the netmgr quantum to 1024
authorOndřej Surý <ondrej@sury.org>
Mon, 10 May 2021 13:13:46 +0000 (15:13 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 10 May 2021 19:32:31 +0000 (21:32 +0200)
During the stress testing, it was discovered that the default netmgr
quantum of 128 is not enough and there was a performance drop for TCP on
FreeBSD.  Bumping the default quantum to 1024 solves the performance
issue and is still enough to prevent the endless loops.

lib/isc/netmgr/netmgr-int.h

index e532b014cc01ea0b79cedce7400be6c29901c506..f45116ae417d5266b00d5b2fd4e019979524d23d 100644 (file)
@@ -40,7 +40,7 @@
 
 #include "uv-compat.h"
 
-#define ISC_NETMGR_QUANTUM_DEFAULT 128
+#define ISC_NETMGR_QUANTUM_DEFAULT 1024
 
 #define ISC_NETMGR_TID_UNKNOWN -1