Subject: Re: removal of threading in bind9
To: Rui Paulo <rpaulo@NetBSD.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-net
Date: 08/13/2005 14:34:14
On Aug 13, 2005, at 9:04 AM, Rui Paulo wrote:
> On 2005.08.13 08:44:36 +0000, Jason Thorpe wrote:
> | As far as I can tell, NetBSD already builds Bind 9's named non-
> | threaded, and has ever since Bind 9 was incorporated into the tree.
>
> Hmm, I'm not sure.
> /usr/sbin/named:
> -lpthread.0 => /usr/lib/libpthread.so.0
> -lc.12 => /usr/lib/libc.so.12
>
> And on a 2-way system, it creates two worker threads for me:
> Aug 13 16:27:16 neutron named[470]: starting BIND 9.3.0
> Aug 13 16:27:16 neutron named[470]: found 2 CPUs, using 2 worker
> threads
Interesting. The Makefile doesn't seem to reference it.
>
> ps asx shows:
> 14 501 1 0 3 3 28 0 10400 2992 sawait S- ?
> 0:02.01 named -t /var/chroot/named -u named
> 14 501 1 0 4 3 2 0 10400 2992 select I- ?
> 0:02.01 named -t /var/chroot/named -u named
> 14 501 1 0 1 3 18 0 10400 2992 sigwait I ?
> 0:02.01 named -t /var/chroot/named -u named
>
>
> -- Rui Paulo
-- thorpej