daemon shutdown time with large zones (bind 9.2.4)

JINMEI Tatuya / 神明達哉 jinmei at isl.rdc.toshiba.co.jp
Thu Sep 30 08:29:09 UTC 2004


>>>>> On Tue, 28 Sep 2004 16:03:25 -0700 (PDT), 
>>>>> Chris Timmons <cwt at networks.cwu.edu> said:

> I was wondering if there is a configure-time or run-time configuration
> technique that I could use to speed this up?

This might be due to overhead in FreeBSD's built-in free(3).  Please
try the following patch (for 9.2.4rc4 which is the only version I have
right now, but I beleive it should just apply to 9.2.4.).  It enables
an internal wrapper for the build-in functions, avoiding the overhead.

I've often heard this type of problems, but I myself don't have an
environment to reproduce it.  So it would be nice if you could tell us
the result, whether positive or negative.

					JINMEI, Tatuya
					Communication Platform Lab.
					Corporate R&D Center, Toshiba Corp.
					jinmei at isl.rdc.toshiba.co.jp

--- mem.c.orig	Thu Sep 30 17:23:19 2004
+++ mem.c	Thu Sep 30 17:24:42 2004
@@ -46,7 +46,7 @@
  * performs poorly on multiprocessor machines.
  */
 #ifndef ISC_MEM_USE_INTERNAL_MALLOC
-#define ISC_MEM_USE_INTERNAL_MALLOC 0
+#define ISC_MEM_USE_INTERNAL_MALLOC 1
 #endif
 
 /*


More information about the bind-users mailing list