Subject: Re: removal of threading in bind9
To: Hubert Feyrer <hubert@feyrer.de>
From: Mipam <mipam@ibb.net>
List: tech-net
Date: 08/13/2005 17:12:51
On Sat, 13 Aug 2005, Hubert Feyrer wrote:
> On Fri, 12 Aug 2005, Mipam wrote:
> > Reason was because with threading bind 9 performs less and suffers
> > a memory leak. So in FreeBSD named is no longer linked to libpthread.
> > Is it an idea to do the same in NetBSD?
> > At least until 9.4.0 comes which should remedy the mentioned problems and
> > should mean a boost in performance.
>
> It would be interesting to see any numbers upon which to act.
Like how much slower bind9 is with threading enabled and about the mem
leak? Or? Problem is, i didn't test it, not entirely true though.
On two FreeBSD boxes i did test it with and without linking against
libpthread (threading enabled). Both machine have a lot of names to
resolve most of the time and what i saw are some differences:
With bind 9.3.0 the amount of memory consumed by bind 9.3.0 after a week
(remaining steadily) was about 20 megs. (With threading enabled)
With bind 9.3.1 the amount of memory consumed by bind 9.3.1 after a week
(remaining steadily) was about 16 megs. (With threading enabled)
With bind 9.3.1 the amount of memory consumed by bind 9.3.1 after a week
(remaining steadily) was about 10 megs. (With threading disabled)
Now this IS a difference.
Shamefully i must admit i didn't test this on NetBSD.
But i suspect similar results.
Bye,
Mipam.