Regarding Parallel Support

JINMEI Tatuya / 神明達哉 Jinmei_Tatuya at isc.org
Wed Aug 13 18:22:12 UTC 2008


At Wed, 13 Aug 2008 09:20:42 +0400,
Dmitry Rybin <kirgudu at corbina.net> wrote:

> > Where is it documented?  My servers suffered greatly from what seems to be 
> > exactly this problem and we pulled our hair out trying to figure out how to 
> > solve it.  max-cache-size just doesn't work in 9.4.
> > 
> > This issue seems to be gone in 9.5.
> 
> Work on hard loads doesn't change from 9.4 and 9.5 :( Did you see src 
> code bind 9.5? It's terrible.
> 
> it is documented in bind mail list.
> Bind works more nice with next changes:

Please let me check it again.  Are you talking about your
configuration for 9.5?  The first two of the following shouldn't
have any effect in 9.5: the first constant isn't used at all; the
second is the default in 9.5 (and 9.4).  I'd agree the third one is
'noisy', though.  Anyway, if these changes make your 9.5 server
lightweight, only this one should matter.

> 1. dirty hack.
> =====================
> Mor quickly clean cache
> lib/dns/cache.c
> -#define DNS_CACHE_CLEANERINCREMENT      1000U   /*%< Number of nodes. */
> +#define DNS_CACHE_CLEANERINCREMENT      200U   /*%< Number of nodes. */
> =====================
> Use ISC MALLOC
> lib/isc/include/isc/mem.h
> -#ifndef ISC_MEM_USE_INTERNAL_MALLOC
> #define ISC_MEM_USE_INTERNAL_MALLOC 1
> -#endif
> =====================
> Disable noisy log RFC 1918.
> bin/named/query.c
> warn_rfc1918(ns_client_t *client, dns_name_t *fname, dns_rdataset_t 
> *rdataset) {
> +       return;
>          unsigned int i;
> =====================

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.


More information about the bind-users mailing list