]> git.ipfire.org Git - thirdparty/bind9.git/commit
Follow the number of CPU set by taskset/cpuset
authorOndřej Surý <ondrej@isc.org>
Thu, 22 Aug 2024 15:23:09 +0000 (17:23 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 29 Aug 2024 14:43:18 +0000 (14:43 +0000)
commit5a2df8caf5c7c2def7266dc10dde60ef92d4ccb7
treee35a7df6a8d80f6dd47b89304aa1cd83a42323b6
parentb65533beff823eb5760b2ddc70676c273cd8adf7
Follow the number of CPU set by taskset/cpuset

Administrators may wish to constrain the set of cores that BIND 9 runs
on via the 'taskset', 'cpuset' or 'numactl' programs (or equivalent on
other O/S), for example to achieve higher (or more stable) performance
by more closely associating threads with individual NIC rx queues. If
the admin has used taskset, it follows that BIND ought to
automatically use the given number of CPUs rather than the system wide
count.

Co-Authored-By: Ray Bellis <ray@isc.org>
bin/tests/system/Makefile.am
bin/tests/system/cpu/clean.sh [new file with mode: 0644]
bin/tests/system/cpu/ns1/named.conf.in [new file with mode: 0644]
bin/tests/system/cpu/prereq.sh [new file with mode: 0644]
bin/tests/system/cpu/setup.sh [new file with mode: 0644]
bin/tests/system/cpu/tests.sh [new file with mode: 0755]
bin/tests/system/cpu/tests_sh_cpu.py [new file with mode: 0644]
configure.ac
lib/isc/os.c