<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=297454813-12092008><FONT face=Verdana
color=#0000ff size=2>Add the "testip" flag to each host and Hobbit will not try
to resolve the name.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=297454813-12092008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=297454813-12092008><FONT face=Verdana
color=#0000ff size=2>When you add the "dns" flag, Hobbit will test the DNS
server on that host.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=297454813-12092008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=297454813-12092008><FONT face=Verdana
color=#0000ff size=2>You might also keep in mind that DNS results are usually
cached by the resolver on each machine until they expire, and this happens at an
operating system level. However, Hobbit uses a specific DNS support
package (perhaps to make the code more portable) -- I have seen it hang when the
DNS servers are not exactly correct, so using "testip" is a good defence
mechanism.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=297454813-12092008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=297454813-12092008><FONT face=Verdana
color=#0000ff size=2>GLH</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=297454813-12092008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> thorsten.erdmann@daimler.com
[mailto:thorsten.erdmann@daimler.com] <BR><B>Sent:</B> Friday, September 12,
2008 8:38 AM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> [hobbit] bbtest
shows long DNS runtime, why<BR></FONT><BR></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV><BR><FONT face=sans-serif size=2>Hi</FONT><BR><BR><FONT
face=sans-serif size=2>I am running hobbit against 40 clients. Two of these
clients are our DNS servers. Only on these two clients I have enabled the DNS
test by adding the DNS keyword to their bb-hosts line. I wanted to check the
function of the DNS servers</FONT><BR><BR><FONT face=sans-serif size=2>If I
look at the statistics of bbtest it looks like this:</FONT><BR><BR><FONT
size=2><TT>Fri Sep 12 15:26:08 2008</TT></FONT><BR><BR><FONT
size=2><TT>bbtest-net version 4.2.0</TT></FONT><BR><FONT size=2><TT>SSL
library : OpenSSL 0.9.7a Feb 19 2003</TT></FONT><BR><FONT size=2><TT>LDAP
library: OpenLDAP 20213</TT></FONT><BR><BR><FONT
size=2><TT>Statistics:</TT></FONT><BR><FONT size=2><TT> Hosts total
:
41</TT></FONT><BR><FONT size=2><TT> Hosts with no tests :
1</TT></FONT><BR><FONT size=2><TT> Total test count
: 44</TT></FONT><BR><FONT
size=2><TT> Status messages :
45</TT></FONT><BR><FONT size=2><TT> Alert status msgs :
0</TT></FONT><BR><FONT
size=2><TT> Transmissions :
2</TT></FONT><BR><BR><FONT size=2><TT>DNS
statistics:</TT></FONT><BR><FONT size=2><TT> # hostnames resolved :
40</TT></FONT><BR><FONT size=2><TT> # succesful
:
40</TT></FONT><BR><FONT size=2><TT> # failed
: 0</TT></FONT><BR><FONT
size=2><TT> # calls to dnsresolve :
44</TT></FONT><BR><BR><FONT size=2><TT>TCP test
statistics:</TT></FONT><BR><FONT size=2><TT> # TCP tests total
: 2</TT></FONT><BR><FONT size=2><TT> #
HTTP tests :
1</TT></FONT><BR><FONT size=2><TT> # Simple TCP tests
: 1</TT></FONT><BR><FONT size=2><TT> #
Connection attempts : 2</TT></FONT><BR><FONT
size=2><TT> # bytes written :
126</TT></FONT><BR><FONT size=2><TT> # bytes read
: 871</TT></FONT><BR><BR><BR><FONT
size=2><TT>TIME SPENT</TT></FONT><BR><FONT size=2><TT>Event
Starttime
Duration</TT></FONT><BR><FONT size=2><TT>bbtest-net
startup
1221225968.275331
-</TT></FONT><BR><FONT size=2><TT>Service definitions loaded
1221225968.276931
0.001600 </TT></FONT><BR><FONT size=2><TT>Tests loaded
1221225968.281365
0.004434 </TT></FONT><BR><FONT size=2><TT>DNS lookups completed
1221225973.283037 5.001672
</TT></FONT><BR><FONT size=2><TT>Test engine setup completed
1221225973.285332
0.002295 </TT></FONT><BR><FONT size=2><TT>TCP tests completed
1221225973.286398 0.001066
</TT></FONT><BR><FONT size=2><TT>PING test completed (40 hosts)
1221225974.166549
0.880151 </TT></FONT><BR><FONT size=2><TT>PING test results sent
1221225974.177932
0.011383 </TT></FONT><BR><FONT
size=2><TT>Test result collection completed
1221225974.177943 0.000011
</TT></FONT><BR><FONT size=2><TT>LDAP test engine setup completed
1221225974.177944
0.000001 </TT></FONT><BR><FONT size=2><TT>LDAP tests executed
1221225974.177945 0.000001
</TT></FONT><BR><FONT size=2><TT>LDAP tests result collection completed
1221225974.177946 0.000001
</TT></FONT><BR><FONT size=2><TT>NSLOOKUP tests executed
1221225974.179452
0.001506 </TT></FONT><BR><FONT size=2><TT>Test results
transmitted
1221225974.181039 0.001587
</TT></FONT><BR><FONT size=2><TT>bbtest-net completed
1221225974.182936
0.001897 </TT></FONT><BR><FONT size=2><TT>TIME
TOTAL
5.907605
</TT></FONT><BR><BR><BR><FONT face=sans-serif size=2>What you see are two
mystic things:</FONT><BR><BR><FONT face=sans-serif size=2>It seems that hobbit
resolves all clients via DNS: </FONT><FONT size=2><TT>
</TT></FONT><BR><FONT size=2><TT> # hostnames resolved :
40</TT></FONT><BR><FONT face=sans-serif size=2>Why that, I gave
all names and it's corresponding IPs at the bb-hosts file?</FONT><BR><BR><FONT
face=sans-serif size=2>The DNS test runs about 5 seconds for only these 40
clients, maybe that is because of the first issue: </FONT><BR><FONT
size=2><TT> DNS lookups completed
1221225973.283037
5.001672</TT></FONT><BR><BR><FONT face=sans-serif size=2>If you
look at the graph, it gives very scary "triagle curves". I've put a screenshot
here: http://www.trektech.de/test/hobbitgraph.png</FONT><BR><FONT
face=sans-serif size=2>The thing seems to have started when I put the DNS
keyword to my two DNS servers. Before it gave a nearly zero
line.</FONT><BR><BR><FONT face=sans-serif size=2>I want to add about 400
network switches which should only do a ping test and I fear that this would
extremely increase the runtime of the bbtest.</FONT><BR><FONT face=sans-serif
size=2>What can I do to decrease the runtime?</FONT><BR><BR><FONT
face=sans-serif size=2>Thorsten Erdmann<BR>ITI/EP68<BR>Mercedes Benz Werk
Hamburg<BR>Tel.: +49-40-7920-2593<BR><BR></FONT><FONT face=sans-serif><FONT
face="sans-serif, Arial, Helvetica" color=#808080 size=-1><BR>If you are not
the intended addressee, please inform us immediately that you have received
this e-mail in error, and delete it. We thank you for your cooperation.
<BR><BR></BLOCKQUOTE></FONT></FONT></BODY></HTML>