Recently ,i got a problem in imx6q,with linux version 4.1.6.
The one side is arm linux(imx6q) as tcp client ,and other is pc computer as tcp server(server port:31122),the client connected to server and then receive data from server in fixed interval time ,like 5ms. The most of time, the select works fine,but sometimes the select() continuous returns zero.
Does anyone can give me any suggestion? thanks a lot.
Follows snippets are logs when error happened.
select timeout
select timeout
select timeout
select timeout
rcv data len 16384 , delta time = 3768
rcv data len 16384 , delta time = 0
rcv data len 14802 , delta time = 0
rcv data len 16384 , delta time = 3
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 1
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 16384 , delta time = 0
rcv data len 3088 , delta time = 0
Hi zhongxing
for improving ethernet stability one can look at suggestions on
i.MX6 Gigabit Ethernet - Boundary Devices
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
From the grab logs, the frozen time lasts 1 second or 2 seconds,even more longer.
And some logs not uploaded here.