<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span><br></span></div><div class="qtdSeparateBR">Resending ...bounced the first time.<br><br></div> <div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, August 6, 2014 5:22 PM, hsirk <hsirk_6@yahoo.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv3348463640"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"><div style=""
class="yiv3348463640">Hello,</div><div style="" class="yiv3348463640">I have been playing around with the web10g patch.</div><div style="" class="yiv3348463640">Back ported the web10g-v2.6.38 patch to centos6.5 (2.6.32-431).<br style="" class="yiv3348463640"></div><div class="yiv3348463640" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Started validating the variables . <br style="" class="yiv3348463640"></div><div class="yiv3348463640" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br style="" class="yiv3348463640"></div><div class="yiv3348463640" style="color:rgb(0, 0, 0);font-size:16px;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">So far i have queries about the below two stats.</div><div class="yiv3348463640" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br style="" class="yiv3348463640"></div><div class="yiv3348463640" style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">1.<br style="" class="yiv3348463640"></div><div style="" class="yiv3348463640">tcp_estats_update_segsend()</div><div style="" class="yiv3348463640"> stats->estats_vars.DataOctetsOut += len;</div><div style="" class="yiv3348463640"><br style="" class="yiv3348463640"></div><div style="" class="yiv3348463640">Based on the
description of the variable,shouldn't the length be just the </div><div style="" class="yiv3348463640">length of tcp data
instead of the whole packet .(something line seg - end_seg?)</div><pre style="" class="yiv3348463640">VariableName:        DataOctetsOut
Scope:                RFC4898
ShortDescr:        Data Octets Out
Units:                octets
ProcType:        ZeroBasedCounter32
Description:        The number of octets of data contained in transmitted segments,
                including retransmitted data. Note that this does not include
                TCP headers.
R/W:                read-only</pre><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;" class="yiv3348463640"><br style="" class="yiv3348463640"></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;" class="yiv3348463640"><br style="" class="yiv3348463640"></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;" class="yiv3348463640">2.void tcp_estats_update_rcvd(struct tcp_sock *tp, u32 seq)<br style="" class="yiv3348463640"><span style="" class="yiv3348463640"> </span>stats->estats_vars.ThruOctetsReceived += seq - tp->rcv_nxt </div><div
style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;" class="yiv3348463640"><br style="" class="yiv3348463640"></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;" class="yiv3348463640">Based on the definition shouldn't rcv_wup be used ( ie something like tp->rcv_wup - tp->seq )</div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;" class="yiv3348463640">cause AFAIK rcv_nxt indicates data that is received but not yet acked.<br style="" class="yiv3348463640"></div><br style="" class="yiv3348463640"><pre style="" class="yiv3348463640">VariableName:
        ThruOctetsReceived
Scope:                RFC4898
ShortDescr:        Total throughput octets received
Units:                octets
ProcType:        ZeroBasedCounter32
Description:        The number of octets for which cumulative acknowledgments
                have been sent. Note that this will be the sum of changes
                to tcpEStatsAppRcvNxt.
R/W:                read-only</pre><div style="" class="yiv3348463640">If my understanding is wrong or i am just looking at the wrong doc :). Please point me to the right one.</div><div style="" class="yiv3348463640"><br style="" class="yiv3348463640"></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;" class="yiv3348463640">Regards</div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;" class="yiv3348463640">Krishnan</div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;" class="yiv3348463640">PS: if you would like the ported rh6.5 patch . Do let me know i will be more than
happy to share it.</div><div style="color:rgb(0, 0, 0);
font-size:16px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;" class="yiv3348463640"><br style="" class="yiv3348463640"></div></div></div></div><br><br></div> </div> </div> </div> </div></body></html>