Using 2 CPUs with BIND
mike.diggins at McMaster.CA
Mon Dec 29 17:30:25 UTC 2008
I increased the logging to the debug level, but still no mention of it
using 2 CPUs. In fact, I don't get the line "found X CPUs, using Y worker
threads" at all, even mentioning one CPU. Even with the switch '-n 2", it
doesn't give any error that it didn't find two CPUs. Is that Linux only?
Is there anything I need to add during compiling for this to work?
On Mon, 29 Dec 2008, Evan Hunt wrote:
>> dns1 named: starting BIND 9.2.4 -u named -t /var/named/chroot
>> dns1 named: using 2 CPUs
>> When I start BIND on my Solaris 10 SPARC dual CPU (V210) system 9.4.2-P2,
>> I don't get the message "using 2 CPUs", but that's what I want. I
>> compiled it with './configure --prefix=/usr/local/bind --enable-threads'
>> and start it with '/usr/local/bind/sbin/named -n 2 -c /etc/named.conf'.
>> How do I know it's actually using the two SPARC CPUs?
> That log message has changed since BIND 9.2; it now says "found X CPUs,
> using Y worker threads".
> If you're not seeing that, your logging might not be set to the right
> severity level. Make sure to include "info"-level messages.
> Evan Hunt -- evan_hunt at isc.org
> Internet Systems Consortium, Inc.
More information about the bind-users