[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grinder-use
Subject:    Re: [Grinder-use] Grinder bug? (Re: Problem with negative time values in grinder analyzer)
From:       Travis Bear <travis_bear () yahoo ! com>
Date:       2012-08-27 18:25:06
Message-ID: 1346091906.34715.YahooMailNeo () web114717 ! mail ! gq1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]



> Should
      we only report the DNS/connection statistics for the first use of
      the connection, and '0' when the connection is re-used?

That makes the most sense to me.



-Travis




________________________________
 From: Philip Aston <philipa@mail.com>
To: Travis Bear <travis_bear@yahoo.com>; grinder-use \
                <grinder-use@lists.sourceforge.net> 
Cc: "plumari_terry@yahoo.it" <plumari_terry@yahoo.it> 
Sent: Sunday, August 26, 2012 4:08 AM
Subject: Re: [Grinder-use] Grinder bug? (Re: Problem with negative time values in \
grinder analyzer)  

The DNS and connection times are per-connection. The time to first byte is per \
request. Connections can be re-used between requests.

Looking at the snippet below, I'm guessing the connection was
      re-used between the execution of test 1 and test 2, so they both
      report "91ms" as the time taken to establish the connection.

That explains the statistics, the question is, is it right? Should
      we only report the DNS/connection statistics for the first use of
      the connection, and '0' when the connection is re-used? Or would
      that be equally confusing?

- Phil

On 28/07/12 01:53, Travis Bear wrote:

Teresa,
> 
> 
> I took a look.  It seems to me this is an issue with The Grinder, and not Grinder \
> Analyzer.  Your data log is in an unexpected state.  In two of the lines, the value \
> for "time to establish connection" is larger than "time to first byte."  This is \
> not normal, and is most likely a Grinder bug.  I've attached a script that will \
> allow you to easily spot this in any grinder data log. 
> 
> 
> 
> 
> travis@ubuntu:~$ ./check_lines.py Downloads/grinder32-15-1-data.log 
> Data file: Downloads/grinder32-15-1-data.log
> 39, 0, 1, 1342733827757, 44, 0, 200, 757, 0, 0, 91, 43
> 39, 0, 2, 1342733828802, 20, 0, 200, 3315, 0, 0, 91, 19
> 2 errors out of 241 lines.
> 
> 
> It's possible I could force the minimum Y-axis value to zero in the graphs to \
> partially hide the problem, but the real fix will involve correcting the data logs. \
> That will have to come from Phil.  
> 
> 
> -Travis
> 
> 
> 
> 
> 
> 
> 
> ________________________________
> From: Teresa Plumari <plumari_terry@yahoo.it>
> To: grinder-use@lists.sourceforge.net 
> Sent: Monday, July 23, 2012 10:18 AM
> Subject: [Grinder-use] Problem with negative time values in grinder analyzer
> 
> Hi,
> i'm using grinder analyzer V2.b17 with The Grinder version
            3.9.1.
> Using http plugin, sometimes i have negative time values in
            "time to
> first byte" graphs.
> (see:
            http://imageshack.us/photo/my-images/210/imagegraph.png/ )
> but i don't have any negative number in the performance csv
            data file.
> Is it a know bug?
> Someone know what is the cause of this problem?
> 
> Thanks.
> Teresa
> 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use


[Attachment #5 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, \
courier, monaco, monospace, sans-serif;font-size:10pt"><br>&gt; Should  we only \
report the DNS/connection statistics for the first use of  the connection, and '0' \
when the connection is re-used?<div><br><span></span></div><div style="color: rgb(0, \
0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><span>That makes the most sense to me.</span></div><div style="color: rgb(0, \
0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: \
13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;"><br><span></span></div><div \
style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: \
13.3333px; font-family: Courier  New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: normal;"><span>-Travis</span></div><div \
style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier \
New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: \
normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: \
13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; \
background-color: transparent; font-style: \
normal;"><span></span></div><div><br></div>  <div style="font-family: Courier New, \
courier, monaco, monospace, sans-serif; font-size: 10pt;"> <div style="font-family: \
times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font \
face="Arial" size="2"> <hr size="1">  <b><span \
style="font-weight:bold;">From:</span></b> Philip Aston &lt;philipa@mail.com&gt;<br> \
<b><span style="font-weight: bold;">To:</span></b> Travis Bear \
&lt;travis_bear@yahoo.com&gt;; grinder-use  &lt;grinder-use@lists.sourceforge.net&gt; \
<br><b><span style="font-weight: bold;">Cc:</span></b> "plumari_terry@yahoo.it" \
&lt;plumari_terry@yahoo.it&gt; <br> <b><span style="font-weight: \
bold;">Sent:</span></b> Sunday, August 26, 2012 4:08 AM<br> <b><span \
style="font-weight: bold;">Subject:</span></b> Re: [Grinder-use] Grinder bug? (Re: \
Problem with negative time values in grinder analyzer)<br> </font> </div> <br> <div \
id="yiv759550244">  
    
  
  <div>
    <div class="yiv759550244moz-cite-prefix">The DNS and connection times are
      per-connection. The time to first byte is per request. Connections
      can be re-used between requests.<br>
      <br>
      Looking at the snippet below, I'm guessing the connection was
      re-used between the execution of test 1 and test 2, so they both
      report "91ms" as the time taken to establish the connection.<br>
      <br>
      That explains the statistics, the question is, is it right? Should
      we only report the DNS/connection statistics for the first use of
      the connection, and '0' when the connection is re-used? Or would
      that be equally confusing?<br>
      <br>
      - Phil<br>
      <br>
      On 28/07/12 01:53, Travis Bear wrote:<br>
    </div>
    <blockquote type="cite">
      <div style="color:#000;background-color:#fff;font-family:Courier New, courier, \
monaco, monospace, sans-serif;font-size:10pt;">  <div><span>Teresa,</span></div>
        <div><br>
          <span></span></div>
        <div><span>I took a look.&nbsp; It seems to me this is an issue with
            The Grinder, and not Grinder Analyzer.&nbsp; Your data log is in
            an unexpected state.&nbsp; In two of the lines, the value for
            "time to establish connection" is larger than "time to first
            byte."&nbsp; This is not normal, and is most likely a Grinder
            bug.&nbsp; I've attached a script that will allow you to easily
            spot this in any grinder data log.<br>
          </span></div>
        <div><br>
          <span></span></div>
        <div><br>
          <span></span></div>
        <div><span>travis@ubuntu:~$ ./check_lines.py
            Downloads/grinder32-15-1-data.log <br>
            Data file: Downloads/grinder32-15-1-data.log<br>
            39, 0, 1, 1342733827757, 44, 0, 200, 757, 0, 0, <span \
                style="font-weight:bold;">91, 43</span><br>
            39, 0, 2, 1342733828802, 20, 0, 200, 3315, 0, 0, <span \
style="font-weight:bold;">91, 19</span><br>  2 errors out of 241 lines.</span></div>
        <div><br>
          <span></span></div>
        <div><span>It's possible I could force the minimum Y-axis value
            to zero in the graphs to partially hide the problem, but the
            real fix will involve correcting the data logs. That will
            have to come from Phil. <br>
          </span></div>
        <div><br>
          <span></span></div>
        <div><span></span></div>
        <div>-Travis</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div style="font-family:Courier New, courier, monaco, monospace, \
                sans-serif;font-size:10pt;">
          <div style="font-family:times new roman, new york, times, \
serif;font-size:12pt;">  <div dir="ltr"> <font face="Arial" size="2">
                <hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
                Teresa Plumari <a rel="nofollow" \
class="yiv759550244moz-txt-link-rfc2396E" ymailto="mailto:plumari_terry@yahoo.it" \
target="_blank" href="mailto:plumari_terry@yahoo.it">&lt;plumari_terry@yahoo.it&gt;</a><br>
  <b><span style="font-weight:bold;">To:</span></b>
                <a rel="nofollow" class="yiv759550244moz-txt-link-abbreviated" \
ymailto="mailto:grinder-use@lists.sourceforge.net" target="_blank" \
href="mailto:grinder-use@lists.sourceforge.net">grinder-use@lists.sourceforge.net</a> \
<br>  <b><span style="font-weight:bold;">Sent:</span></b>
                Monday, July 23, 2012 10:18 AM<br>
                <b><span style="font-weight:bold;">Subject:</span></b>
                [Grinder-use] Problem with negative time values in
                grinder analyzer<br>
              </font> </div>
            <br>
            Hi,<br>
            i'm using grinder analyzer V2.b17 with The Grinder version
            3.9.1.<br>
            Using http plugin, sometimes i have negative time values in
            "time to<br>
            first byte" graphs.<br>
            (see:
            http://imageshack.us/photo/my-images/210/imagegraph.png/ )<br>
            but i don't have any negative number in the performance csv
            data file.<br>
            Is it a know bug?<br>
            Someone know what is the cause of this problem?<br>
            <br>
            Thanks.<br>
            Teresa<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div>

</div><br>------------------------------------------------------------------------------<br>Live \
Security Virtual Conference<br>Exclusive live event will cover all the ways today's \
security and <br>threat landscape has changed and how IT managers can respond. \
Discussions <br>will include endpoint security, mobile security and the latest in \
malware <br>threats. <a \
href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" \
target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>grinder-use \
mailing list<br><a ymailto="mailto:grinder-use@lists.sourceforge.net" \
href="mailto:grinder-use@lists.sourceforge.net">grinder-use@lists.sourceforge.net</a><br><a \
href="https://lists.sourceforge.net/lists/listinfo/grinder-use" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/grinder-use</a><br><br><br> \
</div> </div>  </div></body></html>



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic