Thanks. You help me a lot!<br><br><div class="gmail_quote">On Wed, Nov 16, 2011 at 9:05 AM, Dmitry Kurochkin <span dir="ltr"><<a href="mailto:dmitry.kurochkin@measurement-factory.com">dmitry.kurochkin@measurement-factory.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello.<br>
<div class="im"><br>
On Tue, 15 Nov 2011 16:55:35 -0700, Chengyu Fan <<a href="mailto:chengy.fan@gmail.com">chengy.fan@gmail.com</a>> wrote:<br>
> Hi~<br>
> When I try the test, I use <a href="http://downtime-2.pg" target="_blank">downtime-2.pg</a> in the workloads.And I use the log<br>
> files to generate the report.<br>
> But I find that some phrase don't have the all the data.<br>
> For example, I generate report just for phrase "meas",<br>
<br>
</div>You run the reporter with "--phase meas" parameter, right?<br>
<div class="im"><br>
> but in the hit<br>
> ratios, I can only find "offered DHR" in the graph, No "measured DHR".<br>
<br>
</div>What about the table above the graphs on the "hit ratios" page?  Does it<br>
have 0 for measured DHR?  Or does it match the offered DHR?  Do BHR<br>
graphs look good?<br>
<br>
Sometime you do not see the line on a graph because it is covered by<br>
another line or is 0.<br>
<br>
Note that if you are running without proxy, the measured DHR is 0.<br>
<br>
FWIW I have run the downtime-2 workload with a Squid proxy and I see<br>
both measured and offered DHR on the graphs.<br>
<div class="im"><br>
> Also, I have "first byte read" in "client byte latency histogram", but no<br>
> "last byte written".<br>
<br>
</div>That is ok.  It means that Robots send requests without delays<br>
i.e. basically at the same moment a transaction is started.  Note that<br>
there is a table with aggregated byte latency stats above the graphs on<br>
the response times page.  You should have all zeros in Last request byte<br>
written cells (except for Max, perhaps).<br>
<br>
> Is this normal?<br>
><br>
<br>
In general it is ok that some stats or graphs are missing.  Some<br>
workloads may not generate particular types of traffic so some stats are<br>
missing.  Also, some stats are collected on server- or client-side<br>
only (e.g. hit ratios are collected on client-side).  So if a report is<br>
generated using logs from only one side, corresponding stats would be<br>
missing.<br>
<br>
Of course, it does not mean there can not be bugs related to report<br>
generation or stats recording.  So please let us know if you find<br>
anything suspicious.<br>
<div class="im"><br>
> Another question is I find when the client finished all the phases, it will<br>
> quit automatically. But why Server is still running?<br>
<br>
</div>A workload may use multiple polygraph-server and polygraph-client<br>
processes.  Some of these processes may be "faster" than other.  Because<br>
of that, there may still be clients running (and sending requests) even<br>
after a server finishes the last phase.  So if the server quits, those<br>
clients would start getting errors when sending requests to this<br>
server.  This is why all servers have implicit "cold" phase at the end.<br>
<div class="im"><br>
> Can I stop it using<br>
> some options?<br>
><br>
<br>
</div>If you know that all clients have finished, you can stop the server<br>
(e.g. with a keyboard interrupt).  Otherwise, it would quit on idle<br>
timeout.  Idle timeout is 5min on server-side by default and can be<br>
changed with --idle_tout option.<br>
<div class="im"><br>
> If I missed something apparently, I apologize first.<br>
><br>
<br>
</div>I hope the above helps.  If you still have troubles understanding why<br>
some stats are missing, please consider sending your binary logs and/or<br>
HTML report (you can send it in private if you prefer).  And note which<br>
version of Web Polygraph you are using.<br>
<br>
Regards,<br>
  Dmitry<br>
<div class="im"><br>
> Thanks.<br>
><br>
> --<br>
> Regards,<br>
> Chengyu Fan<br>
</div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@web-polygraph.org">Users@web-polygraph.org</a><br>
> <a href="http://www.web-polygraph.org/mailman/listinfo/users" target="_blank">http://www.web-polygraph.org/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Chengyu Fan<br>