Hi Karel,
According to your suggestion, I changed DEFAULT_TIMEWAIT_TIMEOUT in rtcs_sock.h to 20ms. The issue disappears.
With my MQX device connected directly to my PC (round trip time rtt=2ms), I can’t observe any difference in term of TCP performances.
Short term, I will do more tests into the field to confirm, especially with setup where rtt>20ms.
Long term, it is likely the good option for us will be to rebase to MQX 4.2 RTCS version as the socket & TCB management looks smarter for the small memory devices.
May I ask you to follow up with the RTCS development team in Freescale so that they think about a regression test about TCB management memory footprint for the FTP server for the next releases such as the one I proposed in the doc (directories of small and big files with very fast transitions)?
Thanks a lot for your help.
Best regards,
Paul.
De : Karel Mozny
Envoyé : mercredi 25 mars 2015 09:43
À : Paul GOUNOT
Objet : Re: - RTCS running out of memory during TCP data transfer such as FTP
<https://community.freescale.com/>
RTCS running out of memory during TCP data transfer such as FTP
reply from Karel Mozny <https://community.freescale.com/people/karelm.?et=watches.email.thread> in MQX Software Solutions - View the full discussion <https://community.freescale.com/message/497855?et=watches.email.thread#497855>