Subject: Re: removal of threading in bind9
To: Christos Zoulas <christos@astron.com>
From: Rui Paulo <rpaulo@NetBSD.org>
List: tech-net
Date: 08/16/2005 11:13:56
--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005.08.16 03:24:00 +0000, Christos Zoulas wrote:
| In article <20050816013054.GA7112@proton.internal.fnop.net>,
| Rui Paulo  <rpaulo@NetBSD.org> wrote:
| >-=3D-=3D-=3D-=3D-=3D-
| >
| >On 2005.08.14 23:10:14 +0000, Mipam wrote:
| >| --- Makefile.inc.original	2005-08-14 23:29:23.000000000 +0200
| >| +++ Makefile.inc	2005-08-14 23:29:43.000000000 +0200
| >| @@ -5,7 +5,7 @@
| >| =20
| >|  WARNS?=3D	1
| >|  WFORMAT?=3D2
| >| -NAMED_USE_PTHREADS?=3Dyes
| >| +NAMED_USE_PTHREADS?=3Dno
| >| =20
| >|  .include <bsd.own.mk>
| >
| >Yes, that's just what we need, I guess.
| >Can someone responsible/knowledge for bind comment on this ?
|=20
| Named works fine for me with pthreads for me on shark, i386, sparc,
| and sparc64.  While there might be memory allocation bugs with
| pthreads and bind I have not hit them, but my usage is not
| representative (I am just using a cacheing name server on most of
| these machines).  I am a bit torn about turning pthreads off by
| default. On one hand it is better to be safe and release with
| pthreads turned off on our release branches, but on the other hand
| I'd like to keep bind threaded at head since it is the only (?)
| threaded daemon in our source tree and that should help testing
| our pthreads code. Importing a new version of bind on NetBSD should
| be relatively easy now, so if this bug is already fixed, we can
| import the new bind in NetBSD-current.

So, what about disabling pthreads on netbsd-3, only ? I don't think
that BIND 9.3.1 fixes any of this issues, but I may be wrong.

		-- Rui Paulo

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFDAbxkZPqyxs9FH4QRAtx0AJ9axXs83bN33QF4FozTIOT4cQRLEACfTLd/
ix+nap6cpwVLG+F4lH0m3D4=
=2/8E
-----END PGP SIGNATURE-----

--y0ulUmNC+osPPQO6--