Hi Jon,

On 24/11/16 17:08, Jon Maloy wrote:
>> 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).
> 

I saw your patch "tipc: fix link statistics counter errors". I assume it should
tackle this issue? I gave it a try with kernel 4.9.0-rc7 on my kmeter1 board
which is a 32 bit powerpc board. Unfortunately the counters are still wrong in
the link statistic. Received packets don't appear at all and transmitted
packages to a remote node are accounted on the broadcast link.

Best regards
Holger

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

Reply via email to