]> 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)
committerNicki Křížek <nicki@isc.org>
Tue, 3 Sep 2024 12:54:40 +0000 (14:54 +0200)
commitc8f1fa0e474d00a78c55d40ee7fef1e286765f9a
tree77e4271af5d58756d1dfba3d43cc9ad58403905b
parent7f6e092c05d5d9fcd22fe158fed629f2f2562d78
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>
(cherry picked from commit 5a2df8caf5c7c2def7266dc10dde60ef92d4ccb7)
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