Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2018 12:58:51 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458822 - in head/dns: bind9-devel bind910 bind911 bind912
Message-ID:  <201801121258.w0CCwpNR029676@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Jan 12 12:58:51 2018
New Revision: 458822
URL: https://svnweb.freebsd.org/changeset/ports/458822

Log:
  Add a TUNING_LARGE option.
  
  https://kb.isc.org/article/AA-01314/0
  
  Tunes certain compiled-in constants and default settings to
  values better suited to large servers with 12/16GB+ of memory.
  This can improve performance on such servers, but will consume
  more memory and may degrade performance on smaller systems.
  
  PR:		224859
  Sponsored by:	Absolight

Modified:
  head/dns/bind9-devel/Makefile   (contents, props changed)
  head/dns/bind9-devel/pkg-help   (contents, props changed)
  head/dns/bind910/Makefile   (contents, props changed)
  head/dns/bind910/pkg-help   (contents, props changed)
  head/dns/bind911/Makefile   (contents, props changed)
  head/dns/bind911/pkg-help   (contents, props changed)
  head/dns/bind912/Makefile   (contents, props changed)
  head/dns/bind912/pkg-help   (contents, props changed)

Modified: head/dns/bind9-devel/Makefile
==============================================================================
--- head/dns/bind9-devel/Makefile	Fri Jan 12 12:57:18 2018	(r458821)
+++ head/dns/bind9-devel/Makefile	Fri Jan 12 12:58:51 2018	(r458822)
@@ -8,7 +8,7 @@ PORTVERSION=	${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc
 PORTREVISION=	0
 .else
 # dns/bind9xx here
-PORTREVISION=	1
+PORTREVISION=	2
 .endif
 CATEGORIES=	dns net ipv6
 MASTER_SITES=	LOCAL/mat/bind
@@ -81,7 +81,7 @@ OPTIONS_RADIO_GOSTDEF=	GOST GOST_ASN1
 OPTIONS_DEFAULT+=	DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP
 OPTIONS_DEFINE+=	RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \
 			MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
-			START_LATE
+			START_LATE TUNING_LARGE
 OPTIONS_GROUP=		DLZ
 OPTIONS_GROUP_DLZ=	DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
 			DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
@@ -122,6 +122,7 @@ RPZ_NSIP_DESC=		Enable RPZ NSIP trigger rules
 SIGCHASE_DESC=		dig/host/nslookup will do DNSSEC validation
 SSL_DESC=		Build with OpenSSL (Required for DNSSEC)
 START_LATE_DESC=	Start BIND late in the boot process (see help)
+TUNING_LARGE_DESC=	Tune named for large systems (**READ HELP**)
 
 DLZ_BDB_CONFIGURE_ON=	--with-dlz-bdb=yes
 DLZ_BDB_USES=		bdb
@@ -213,6 +214,10 @@ START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldco
 			NAMED_BEFORE="SERVERS"
 
 THREADS_CONFIGURE_ENABLE=	threads
+
+TUNING_LARGE_IMPLIES=	THREADS
+TUNING_LARGE_CONFIGURE_ON=	--with-tuning=large
+TUNING_LARGE_CONFIGURE_OFF=	--with-tuning=default
 
 .include <bsd.port.pre.mk>
 

Modified: head/dns/bind9-devel/pkg-help
==============================================================================
--- head/dns/bind9-devel/pkg-help	Fri Jan 12 12:57:18 2018	(r458821)
+++ head/dns/bind9-devel/pkg-help	Fri Jan 12 12:58:51 2018	(r458822)
@@ -28,3 +28,11 @@ and adding this line to /etc/fstab:
 Most of the time, BIND needs to start early in the boot
 process.  Enable this if BIND starts too early for you and
 you need it to start later.
+
+
+                        TUNING_LARGE
+           https://kb.isc.org/article/AA-01314/0
+Tunes certain compiled-in constants and default settings to
+values better suited to large servers with 12/16GB+ of memory.
+This can improve performance on such servers, but will consume
+more memory and may degrade performance on smaller systems.

Modified: head/dns/bind910/Makefile
==============================================================================
--- head/dns/bind910/Makefile	Fri Jan 12 12:57:18 2018	(r458821)
+++ head/dns/bind910/Makefile	Fri Jan 12 12:58:51 2018	(r458822)
@@ -3,7 +3,7 @@
 
 PORTNAME=	bind
 PORTVERSION=	${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc/.rc/}
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	dns net ipv6
 MASTER_SITES=	ISC/bind9/${ISCVERSION}
 PKGNAMESUFFIX=	910
@@ -56,7 +56,7 @@ OPTIONS_DEFINE=		IDN LARGE_FILE PYTHON JSON \
 			FIXED_RRSET SIGCHASE IPV6 THREADS FILTER_AAAA \
 			RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \
 			MINCACHE PORTREVISION FETCHLIMIT QUERYTRACE \
-			START_LATE
+			START_LATE TUNING_LARGE
 
 OPTIONS_RADIO=	CRYPTO GOSTDEF
 OPTIONS_RADIO_CRYPTO=	SSL NATIVE_PKCS11
@@ -100,6 +100,7 @@ RPZ_NSIP_DESC=		Enable RPZ NSIP trigger rules
 SIGCHASE_DESC=		dig/host/nslookup will do DNSSEC validation
 SSL_DESC=		Build with OpenSSL (Required for DNSSEC)
 START_LATE_DESC=	Start BIND late in the boot process (see help)
+TUNING_LARGE_DESC=	Tune named for large systems (**READ HELP**)
 
 DLZ_BDB_CONFIGURE_ON=	--with-dlz-bdb=yes
 DLZ_BDB_USES=		bdb
@@ -183,6 +184,10 @@ START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldco
 			NAMED_BEFORE="SERVERS"
 
 THREADS_CONFIGURE_ENABLE=	threads
+
+TUNING_LARGE_IMPLIES=	THREADS
+TUNING_LARGE_CONFIGURE_ON=	--with-tuning=large
+TUNING_LARGE_CONFIGURE_OFF=	--with-tuning=default
 
 .include <bsd.port.pre.mk>
 

Modified: head/dns/bind910/pkg-help
==============================================================================
--- head/dns/bind910/pkg-help	Fri Jan 12 12:57:18 2018	(r458821)
+++ head/dns/bind910/pkg-help	Fri Jan 12 12:58:51 2018	(r458822)
@@ -18,3 +18,11 @@ API functions needed for signature verification.
 Most of the time, BIND needs to start early in the boot
 process.  Enable this if BIND starts too early for you and
 you need it to start later.
+
+
+                        TUNING_LARGE
+           https://kb.isc.org/article/AA-01314/0
+Tunes certain compiled-in constants and default settings to
+values better suited to large servers with 12/16GB+ of memory.
+This can improve performance on such servers, but will consume
+more memory and may degrade performance on smaller systems.

Modified: head/dns/bind911/Makefile
==============================================================================
--- head/dns/bind911/Makefile	Fri Jan 12 12:57:18 2018	(r458821)
+++ head/dns/bind911/Makefile	Fri Jan 12 12:58:51 2018	(r458822)
@@ -8,7 +8,7 @@ PORTVERSION=	${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc
 PORTREVISION=	2
 .else
 # dns/bind911 here
-PORTREVISION=	6
+PORTREVISION=	7
 .endif
 CATEGORIES=	dns net ipv6
 MASTER_SITES=	ISC/bind9/${ISCVERSION}
@@ -79,7 +79,7 @@ OPTIONS_RADIO_GOSTDEF=	GOST GOST_ASN1
 OPTIONS_DEFAULT+=	DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP
 OPTIONS_DEFINE+=	RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \
 			MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
-			START_LATE
+			START_LATE TUNING_LARGE
 OPTIONS_GROUP=		DLZ
 OPTIONS_GROUP_DLZ=	DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
 			DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
@@ -120,6 +120,7 @@ RPZ_NSIP_DESC=		Enable RPZ NSIP trigger rules
 SIGCHASE_DESC=		dig/host/nslookup will do DNSSEC validation
 SSL_DESC=		Build with OpenSSL (Required for DNSSEC)
 START_LATE_DESC=	Start BIND late in the boot process (see help)
+TUNING_LARGE_DESC=	Tune named for large systems (**READ HELP**)
 
 DLZ_BDB_CONFIGURE_ON=	--with-dlz-bdb=yes
 DLZ_BDB_USES=		bdb
@@ -211,6 +212,10 @@ START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldco
 			NAMED_BEFORE="SERVERS"
 
 THREADS_CONFIGURE_ENABLE=	threads
+
+TUNING_LARGE_IMPLIES=	THREADS
+TUNING_LARGE_CONFIGURE_ON=	--with-tuning=large
+TUNING_LARGE_CONFIGURE_OFF=	--with-tuning=default
 
 .include <bsd.port.pre.mk>
 

Modified: head/dns/bind911/pkg-help
==============================================================================
--- head/dns/bind911/pkg-help	Fri Jan 12 12:57:18 2018	(r458821)
+++ head/dns/bind911/pkg-help	Fri Jan 12 12:58:51 2018	(r458822)
@@ -18,3 +18,11 @@ API functions needed for signature verification.
 Most of the time, BIND needs to start early in the boot
 process.  Enable this if BIND starts too early for you and
 you need it to start later.
+
+
+                        TUNING_LARGE
+           https://kb.isc.org/article/AA-01314/0
+Tunes certain compiled-in constants and default settings to
+values better suited to large servers with 12/16GB+ of memory.
+This can improve performance on such servers, but will consume
+more memory and may degrade performance on smaller systems.

Modified: head/dns/bind912/Makefile
==============================================================================
--- head/dns/bind912/Makefile	Fri Jan 12 12:57:18 2018	(r458821)
+++ head/dns/bind912/Makefile	Fri Jan 12 12:58:51 2018	(r458822)
@@ -8,7 +8,7 @@ PORTVERSION=	${ISCVERSION:S/-P/P/:S/b/.b/:S/a/.a/:S/rc
 PORTREVISION=	0
 .else
 # dns/bind912 here
-PORTREVISION=	2
+PORTREVISION=	3
 .endif
 CATEGORIES=	dns net ipv6
 MASTER_SITES=	ISC/bind9/${ISCVERSION}
@@ -79,7 +79,7 @@ OPTIONS_RADIO_GOSTDEF=	GOST GOST_ASN1
 OPTIONS_DEFAULT+=	DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP
 OPTIONS_DEFINE+=	RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \
 			MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
-			START_LATE
+			START_LATE TUNING_LARGE
 OPTIONS_GROUP=		DLZ
 OPTIONS_GROUP_DLZ=	DLZ_POSTGRESQL DLZ_MYSQL DLZ_BDB \
 			DLZ_LDAP DLZ_FILESYSTEM DLZ_STUB
@@ -120,6 +120,7 @@ RPZ_NSIP_DESC=		Enable RPZ NSIP trigger rules
 SIGCHASE_DESC=		dig/host/nslookup will do DNSSEC validation
 SSL_DESC=		Build with OpenSSL (Required for DNSSEC)
 START_LATE_DESC=	Start BIND late in the boot process (see help)
+TUNING_LARGE_DESC=	Tune named for large systems (**READ HELP**)
 
 DLZ_BDB_CONFIGURE_ON=	--with-dlz-bdb=yes
 DLZ_BDB_USES=		bdb
@@ -211,6 +212,10 @@ START_LATE_SUB_LIST_OFF=NAMED_REQUIRE="NETWORKING ldco
 			NAMED_BEFORE="SERVERS"
 
 THREADS_CONFIGURE_ENABLE=	threads
+
+TUNING_LARGE_IMPLIES=	THREADS
+TUNING_LARGE_CONFIGURE_ON=	--with-tuning=large
+TUNING_LARGE_CONFIGURE_OFF=	--with-tuning=default
 
 .include <bsd.port.pre.mk>
 

Modified: head/dns/bind912/pkg-help
==============================================================================
--- head/dns/bind912/pkg-help	Fri Jan 12 12:57:18 2018	(r458821)
+++ head/dns/bind912/pkg-help	Fri Jan 12 12:58:51 2018	(r458822)
@@ -28,3 +28,11 @@ and adding this line to /etc/fstab:
 Most of the time, BIND needs to start early in the boot
 process.  Enable this if BIND starts too early for you and
 you need it to start later.
+
+
+                        TUNING_LARGE
+           https://kb.isc.org/article/AA-01314/0
+Tunes certain compiled-in constants and default settings to
+values better suited to large servers with 12/16GB+ of memory.
+This can improve performance on such servers, but will consume
+more memory and may degrade performance on smaller systems.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801121258.w0CCwpNR029676>