From 3713a38689950d597b48e94e8077057b5edc3d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Mon, 10 May 2021 15:13:46 +0200 Subject: [PATCH] Bump the netmgr quantum to 1024 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/netmgr/netmgr-int.h b/lib/isc/netmgr/netmgr-int.h index e532b014cc..f45116ae41 100644 --- a/lib/isc/netmgr/netmgr-int.h +++ b/lib/isc/netmgr/netmgr-int.h @@ -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