[Web10g-user] Fw: Statistics validation
hsirk
hsirk_6 at yahoo.com
Mon Aug 11 14:05:31 EDT 2014
Great do let me know how it goes
Also please add the below one to your list
Shouldn't ThruOctetsAcked be
stats->estats_vars.ThruOctetsAcked += ack - tp->snd_una;
instead of
stats->estats_vars.ThruOctetsAcked += tp->snd_una-ack;
Regards
Krishnan
On Monday, August 11, 2014 10:45 AM, rapier <rapier at psc.edu> wrote:
Krishnan,
Thanks for bringing this to our attention and I apologize for not
replying earlier. I'll need to bring this up with the team member that
worked on implementing the MIB to determine if this is an oversight or
intention. Unfortunately they are on vacation for the next week or so.
However, when they return I'll get this question answered as soon as
possible.
Thanks again,
Chris Rapier
On 8/6/14, 8:26 PM, hsirk wrote:
>
> Resending ...bounced the first time.
>
> On Wednesday, August 6, 2014 5:22 PM, hsirk <hsirk_6 at yahoo.com> wrote:
>
>
> Hello,
> I have been playing around with the web10g patch.
> Back ported the web10g-v2.6.38 patch to centos6.5 (2.6.32-431).
> Started validating the variables .
>
> So far i have queries about the below two stats.
>
> 1.
> tcp_estats_update_segsend()
> stats->estats_vars.DataOctetsOut += len;
>
> Based on the description of the variable,shouldn't the length be just the
> length of tcp data instead of the whole packet .(something line seg -
> end_seg?)
>
> 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
>
>
>
> 2.void tcp_estats_update_rcvd(struct tcp_sock *tp, u32 seq)
> stats->estats_vars.ThruOctetsReceived += seq - tp->rcv_nxt
>
> Based on the definition shouldn't rcv_wup be used ( ie something like
> tp->rcv_wup - tp->seq )
> cause AFAIK rcv_nxt indicates data that is received but not yet acked.
>
> 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
>
> If my understanding is wrong or i am just looking at the wrong doc :).
> Please point me to the right one.
>
> Regards
> Krishnan
> PS: if you would like the ported rh6.5 patch . Do let me know i will be
> more than happy to share it.
>
>
>
>
>
> _______________________________________________
> Web10g-user mailing list
> Web10g-user at web10g.org
> https://lists.psc.edu/mailman/listinfo/web10g-user
>
> To UNSUBSCRIBE visit https://lists.psc.edu/mailman/unsubscribe/web10g-user
>
_______________________________________________
Web10g-user mailing list
Web10g-user at web10g.org
https://lists.psc.edu/mailman/listinfo/web10g-user
To UNSUBSCRIBE visit https://lists.psc.edu/mailman/unsubscribe/web10g-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.psc.edu/pipermail/web10g-user/attachments/20140811/760e21b7/attachment.html
More information about the Web10g-user
mailing list