2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

3131. [func] Improve scalability by allocating one zone task

per 100 zones at startup time, rather than using a
			fixed-size task table. [RT #24406]
This commit is contained in:
Evan Hunt
2011-07-06 01:36:32 +00:00
parent 007eafcd07
commit 42cf2ff7ba
17 changed files with 799 additions and 415 deletions

View File

@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: master_test.c,v 1.3 2011/03/01 23:48:07 tbox Exp $ */
/* $Id: master_test.c,v 1.4 2011/07/06 01:36:32 each Exp $ */
/*! \file */
@@ -114,7 +114,7 @@ ATF_TC_BODY(master_load, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master1.data");
@@ -136,7 +136,7 @@ ATF_TC_BODY(master_unexpected, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master2.data");
@@ -158,7 +158,7 @@ ATF_TC_BODY(master_noowner, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master3.data");
@@ -181,7 +181,7 @@ ATF_TC_BODY(master_nottl, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master4.data");
@@ -203,7 +203,7 @@ ATF_TC_BODY(master_badclass, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master5.data");
@@ -223,7 +223,7 @@ ATF_TC_BODY(master_dnskey, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master6.data");
@@ -244,7 +244,7 @@ ATF_TC_BODY(master_dnsnokey, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master7.data");
@@ -264,7 +264,7 @@ ATF_TC_BODY(master_include, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master8.data");
@@ -284,7 +284,7 @@ ATF_TC_BODY(master_includefail, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master9.data");
@@ -305,7 +305,7 @@ ATF_TC_BODY(master_blanklines, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master10.data");
@@ -325,7 +325,7 @@ ATF_TC_BODY(master_leadingzero, tc) {
UNUSED(tc);
result = dns_test_begin(NULL);
result = dns_test_begin(NULL, ISC_FALSE);
ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
result = test_master("testdata/master/master11.data");