imx6q with linux 4.1.6 select() timeout

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx6q with linux 4.1.6 select() timeout

817件の閲覧回数
zhongxing_zhao
Contributor I

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

0 件の賞賛
返信
2 返答(返信)

737件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

737件の閲覧回数
zhongxing_zhao
Contributor I

From the grab logs, the frozen time lasts 1 second or 2 seconds,even more longer.

And some logs not uploaded here.

0 件の賞賛
返信