Re: [lwip-users] retransmission in lwip2.0

2019-03-07 Thread ankish
I spent days debugging the emac driver which is an nxp emac driver but with no success. However diabling the nagle alogrithm improved the performance bt can still see the random delays and retransmission but less frequently. Attaching the driver used in the project.Hope someone can help me on this

Re: [lwip-users] retransmission in lwip2.0

2019-02-13 Thread ankish
+-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags -+-+-+-+-+-+-+-+-+-+-+-+-+-+ tcp_receive: ACK for 101450, unacked->seqno 101191:101450 tcp_receive: removing 101191:101450 from pcb->unacked pbuf_free(0xa000915c) pbuf_free: deallocating 0xa000915c pbuf_remove_header: old 0xa00092fe new 0xa0009305 (7) p

Re: [lwip-users] retransmission in lwip2.0

2019-02-13 Thread ankish
+-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags -+-+-+-+-+-+-+-+-+-+-+-+-+-+ tcp_receive: ACK for 101450, unacked->seqno 101191:101450 tcp_receive: removing 101191:101450 from pcb->unacked pbuf_free(0xa000915c) pbuf_free: deallocating 0xa000915c pbuf_remove_header: old 0xa00092fe new 0xa0009305 (7) p

Re: [lwip-users] retransmission in lwip2.0

2019-02-08 Thread Sergio R. Caprile
What I see is that the slave seems to respond but its response is not in the capture. This means that the frame is not getting there, it is getting lost somewhere in between. If the slave is an lwIP device, then it is quite likely your driver+port are losing frames. Vague questions usually get vag

Re: [lwip-users] retransmission in lwip2.0

2019-02-05 Thread ankish
Sorry about that i didnt noticed the size of the file that was the system test file. Attaching the smaller file Modbus_fail.pcapng for analysis. -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___

Re: [lwip-users] retransmission in lwip2.0

2019-02-04 Thread goldsi...@gmx.de
Am 04.02.2019 um 17:15 schrieb Ankish Sharma: - attached the capture for analysis test_1h.pcapng Are you sure this needs a >200 MiB file? Are you aware that this is a very large file even for a packet captu

Re: [lwip-users] retransmission in lwip2.0

2019-02-04 Thread Ankish Sharma
- attached the capture for analysis test_1h.pcapng On Mon, Feb 4, 2019 at 1:42 PM Sergio R. Caprile wrote: > If you post a capture file, some people here might want to take a look > at it and diagnose the rea

Re: [lwip-users] retransmission in lwip2.0

2019-02-04 Thread Sergio R. Caprile
If you post a capture file, some people here might want to take a look at it and diagnose the reason for the retransmissions. Otherwise, we can not infer much. Did you closely follow the UPGRADE guide in the 2.x documentation ? Perhaps your Modbus provider can be a bit more helpful with you ? (Modb

[lwip-users] retransmission in lwip2.0

2019-02-03 Thread ankish
Hi guys i need help regrading the retransmission issue i am getting after porting from 1.4.1 to 2.0.3.The retransmission are happining 10-14 times in an hour. I am running a modbus server using socket api with freertos. Thanks for the help. -- Sent from: http://lwip.100.n7.nabble.com/lwip-user