Re: [PATCH wpan-tools] wpan-ping: Add the filtering function for frame receiving

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Dec 20, 2016 at 10:01:02AM +0100, Stefan Schmidt wrote:
>Hello.
>
>On 19/12/16 03:32, Xue Wenqian wrote:
>>Hi, Stefan
>>
>>Thank you for your reply.
>>
>>On Fri, Dec 16, 2016 at 02:04:34PM +0100, Stefan Schmidt wrote:
>>>Hello.
>>>
>>>On 16/12/16 08:30, wsn.iot.xwq@xxxxxxxxxxxxxx wrote:
>>>>From: Xue Wenqian <wsn.iot.xwq@xxxxxxxxxxxxxx>
>>>>
>>>>Hi,
>>>>
>>>>Let me make some explanations for the patch:
>>>
>>>No need to start the commit message like a mail. Just the description
>>>is fine. :)
>>>
>>ok, I get it.
>>
>>>>1. The filtering for client is made by checking frame header and sequence number
>>>
>>>Sequence we did before as well so the additional check is for the
>>>header here.
>>>
>>I know the sequence number check you did before, the reason I rewrite
>>here is that when the sequence problem occur, the program will also
>>update new timeout value and receive again until correct frame is
>>received or timeout
>
>OK
>
>
>>>>2. Also, when client receives the incorrect frame, it will update new timeout value and receive again until correct frame is received or timeout
>>>
>>>What happens when a frame is really lost?
>>>
>>First, such doing just tries to avoid a frame lost; Second, it will affect the wpan-ping interval value, since the time consumed for header and sequence number checking maybe large sometimes.
>
>Why would the time to check these to values be long? Even on slow
>hardware this should be fast enough.
>
I made some testing before using RPi-3, treating such frame as lost.
In my testing, the wpan-ping is always running, and the ICMPv6
neighbor solicitation and neighbor advertisement packets are also
transmitted periodically. It is found that the time consumed for
checking header and sequence info may reach 20~30ms, even larger than
100ms, it is unacceptable for me.

>>Our experiment has relatively high requirement for the wpan-ping
>>interval, so I modified the code as such. If you think it is not
>>necessary, I could treat such frame as lost for the patch.
>
>Just send an updated patch with the comments I made before. I will
>give it some testing and let you know if I want anything further
>changed. Thanks.
>
ok, I'll send the patch later as you commented before.
Thank you in advance for the tesing.

regards,
Xue Wenqian


--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux