[v9_9] backport performance changes from 9.10

3316.   [tuning]        Improved locking performance when recursing.
                        [RT #28836]

3315.   [tuning]        Use multiple dispatch objects for sending upstream
                        queries; this can improve performance on busy
                        multiprocessor systems by reducing lock contention.
                        [RT #28605]
This commit is contained in:
Evan Hunt
2012-10-26 10:14:29 -07:00
parent 76e34eb2fd
commit 7cec7ec1d2
20 changed files with 688 additions and 133 deletions

View File

@@ -184,7 +184,7 @@ main(int argc, char *argv[]) {
INSIST(disp6 != NULL);
}
RUNTIME_CHECK(dns_view_createresolver(view, taskmgr, 10,
RUNTIME_CHECK(dns_view_createresolver(view, taskmgr, 10, 1,
socketmgr,
timermgr, 0,
dispatchmgr,