2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Disable setting the thread affinity

It was discovered that setting the thread affinity on both the netmgr
and netthread threads lead to inconsistent recursive performance because
sometimes the netmgr and netthread threads would compete over single
resource and sometimes not.

Removing setting the affinity causes a slight dip in the authoritative
performance around 5% (the measured range was from 3.8% to 7.8%), but
the recursive performance is now consistently good.
This commit is contained in:
Ondřej Surý
2021-07-13 09:51:49 +02:00
committed by Ondřej Surý
parent a92a89f4fa
commit a9e6a7ae57
2 changed files with 0 additions and 4 deletions

View File

@@ -670,7 +670,6 @@ nm_thread(isc_threadarg_t worker0) {
isc_nm_t *mgr = worker->mgr;
isc__nm_tid_v = worker->id;
isc_thread_setaffinity(isc__nm_tid_v);
while (true) {
/*