]> git.ipfire.org Git - thirdparty/bind9.git/commit
Set hard thread affinity for each zone
authorOndřej Surý <ondrej@isc.org>
Thu, 17 Mar 2022 22:37:26 +0000 (23:37 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 1 Apr 2022 21:50:34 +0000 (23:50 +0200)
commit2707d0eeb72937ae370e289ea19f034e62199246
treeb75ca041fef8d2bfd2adb87cb9dccbd83a2dee97
parent8b4ba366dd1050b152e4b6b81444d7ac8d1163ff
Set hard thread affinity for each zone

After switching to per-thread resources in the zonemgr, the performance
was decreased because the memory context, zonetask and loadtask was
picked from the pool at random.

Pin the zone to single threadid (.tid) and align the memory context,
zonetask and loadtask to be the same, this sets the hard affinity of the
zone to the netmgr thread.
bin/check/check-tool.c
bin/named/server.c
bin/tests/system/dyndb/driver/zone.c
lib/dns/dlz.c
lib/dns/include/dns/zone.h
lib/dns/zone.c
lib/isc/include/isc/pool.h
lib/isc/pool.c
lib/ns/tests/nstest.c