BIND 10 #2871: Fake work for resolution
BIND 10 Development
do-not-reply at isc.org
Mon Mar 18 07:41:30 UTC 2013
#2871: Fake work for resolution
----------------------------------------+----------------------------------
Reporter: vorner | Owner:
Type: task | Status: new
Priority: medium | Milestone: New Tasks
Component: resolver | Keywords:
CVSS Scoring: | Sensitive: 0
Defect Severity: N/A | Sub-Project: DNS
Feature Depending on Ticket: | Estimated Difficulty: 0
Add Hours to Ticket: 0 | Total Hours: 0
Internal?: 0 |
----------------------------------------+----------------------------------
Define set of functions and data structures that would form a fake
resolution. Something like:
{{{#!c++
receive();
parseQuery();
renderQuery();
lookIntoCache();
upstreamQuery();
send();
}}}
They'd do no useful work, but would contain some workload (like calling an
empty function 10 million times, or something). Try to guess the balance
somehow.
The goal is to test multi threading approaches and we need some workload
to test it with. This should be as close to the real resolver as we can
get without actually writing the resolver.
Some detail can be found in
https://lists.isc.org/pipermail/bind10-dev/2013-March/004504.html.
Maybe illustrate how to call the functions too, for example by
implementing a single-process single-threaded blocking resolver by them
(eg. no switching between tasks, pick up one, handle and wait for the
upstream answers in blocking mode).
--
Ticket URL: <http://bind10.isc.org/ticket/2871>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list