From b154e9fd7a4acc87435f858d43b8c234885a8763 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Tue, 18 Feb 2014 22:36:14 -0800 Subject: [PATCH 1/2] add "--with-tuning=large" option 3745. [func] "configure --with-tuning=large" adjusts various compiled-in constants and default settings to values suited to large servers with abundant memory. [RT #29538] (cherry picked from commit 6a3fa181d1253db5191139e20231512eebaddeeb) --- README | 8 + bin/named/bind9.ver3.xsl.h | 6 +- bin/named/interfacemgr.c | 9 +- bin/named/named.docbook | 3 + bin/named/server.c | 21 +- bin/named/update.c | 2 +- config.h.in | 3 + configure | 1064 ++++++++++++++++++++++++++++++++++++-------- configure.in | 25 ++ lib/dns/client.c | 8 +- lib/isc/unix/socket.c | 12 + 11 files changed, 975 insertions(+), 186 deletions(-) diff --git a/README b/README index b22e9ce..7451acb 100644 --- a/README +++ b/README @@ -221,6 +221,14 @@ Building To build shared libraries, specify "--with-libtool" on the configure command line. + Certain compiled-in constants and default settings can be + increased to values better suited to large servers with abundant + memory resources (e.g, 64-bit servers with 12G or more of memory) + by specifying "--with-tuning=large" on the configure command + line. This can improve performance on big servers, but will + consume more memory and may degrade performance on smaller + systems. + For the server to support DNSSEC, you need to build it with crypto support. You must have OpenSSL 0.9.5a or newer installed and specify "--with-openssl" on the diff --git a/bin/named/bind9.ver3.xsl.h b/bin/named/bind9.ver3.xsl.h index c55714a..8c0a4a9 100644 --- a/bin/named/bind9.ver3.xsl.h +++ b/bin/named/bind9.ver3.xsl.h @@ -210,7 +210,7 @@ static char xslmsg[] = "

Incoming Requests

\n" " \n" " \n" - "
[graph incoming requests]
\n" + "
[no incoming requests]
\n" "
\n" " \n" " \n" @@ -235,7 +235,7 @@ static char xslmsg[] = "

Incoming Queries by Type

\n" " \n" " \n" - "
[graph incoming qtypes]
\n" + "
[no incoming queries]
\n" "
\n" "
\n" " \n" @@ -307,7 +307,7 @@ static char xslmsg[] = " \n" "