> -----Original Message-----
> From: Holger Brunck [mailto:holger.bru...@keymile.com]
> Sent: Thursday, 24 November, 2016 09:48
> To: tipc-discussion@lists.sourceforge.net
> Subject: [tipc-discussion] TIPC link statistic
> 
> Hi all,
> I got a basic question to the link statistic printed out from TIPC when I use
> "tipc-config -ls" or "tipc link stat show".
> 
> I got a link between a PPC board running kernel 4.4 and my local x86 PC via
> ethernet bearers. I have a simple server running on my PPC board listening on 
> a
> TIPC socket which has published a port in TIPC_CLUSTER_MODE.
> 
> On my local PC I start a TIPC client sending 100 connectionless messages to 
> this
> TIPC port. Due  to printouts within my server I see that the messages are
> arriving where they should.
> 
> What confuses me is when I have a look on the link statistic on both sides. My
> local PC (running Kernel 3.10, Client):
> 
> > tipc-config -ls
> Link <broadcast-link>
>   Window:20 packets
>   RX packets:0 fragments:0/0 bundles:0/0
>   TX packets:100 fragments:0/0 bundles:0/0
>   RX naks:0 defs:0 dups:0
>   TX naks:0 acks:0 dups:0
>   Congestion link:6  Send queue max:20 avg:12
> 
> Link <1.1.3:p4p1-1.1.11:eth1>
>   ACTIVE  MTU:1500  Priority:10  Tolerance:1500 ms  Window:50 packets
>   RX packets:1 fragments:0/0 bundles:0/0
>   TX packets:0 fragments:0/0 bundles:0/0
>   TX profile sample:0 packets  average:0 octets
>   0-64:0% -256:0% -1024:0% -4096:0% -16384:0% -32768:0% -66000:0%
>   RX states:370 probes:182 naks:0 defs:0 dups:0
>   TX states:364 probes:181 naks:0 acks:0 dups:0
>   Congestion link:0  Send queue max:0 avg:0
> 
> The TX messages are accounted on the broadcast link. I would expect that they
> appear on the Link <1.1.3:p4p1-1.1.11:eth1>.
> 
> On my embedded PPC board (kernel 4.4, Server):
> > tipc link stat show
> Link statistics:
> 
> Link <broadcast-link>
>   Window:50 packets
>   RX packets:1 fragments:0/0 bundles:0/0
>   TX packets:1 fragments:0/0 bundles:0/0
>   RX naks:0 defs:0 dups:0
>   TX naks:0 acks:0 dups:0
>   Congestion link:0  Send queue max:0 avg:0
> 
> Link <1.1.11:eth1-1.1.3:p4p1>
>   STANDBY  MTU:1500  Priority:10  Tolerance:1500 ms  Window:50 packets
>   RX packets:0 fragments:0/0 bundles:0/0
>   TX packets:2 fragments:0/0 bundles:0/0
>   TX profile sample:2 packets  average:60 octets
>   0-64:100% -256:0% -1024:0% -4096:0% -16384:0% -32768:0% -66000:0%
>   RX states:378 probes:188 naks:0 defs:0 dups:0
>   TX states:384 probes:189 naks:0 acks:7 dups:0
>   Congestion link:0  Send queue max:0 avg:0
> 
> On the server side the packets doesn't appear at all in the link statistic, 
> but
> they were definetely received from the server.
> 
> Does anyone has an idea whats wrong here?

Yes, I noticed this a while ago, but I haven't had time to look into it. It is 
clearly a bug, probably introduced by me during my last update of the node/link 
layer, and I am sure it easy to fix. As a matter of fact, I have realized this 
is becoming urgent even for my own company, as we are planning to use this 
statistics to measure media quality.

I'll try to find time for it  during the coming week. (Unless somebody is 
volunteering of course).

BR
///jon
> 
> Best regards
> Holger
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> tipc-discussion mailing list
> tipc-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tipc-discussion

------------------------------------------------------------------------------
_______________________________________________
tipc-discussion mailing list
tipc-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to