How can TCP tick server can be speed up for processing incoming data fast...??

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

How can TCP tick server can be speed up for processing incoming data fast...??

646件の閲覧回数
rpneeraj
Contributor II

In my application, need to process the incoming data fast within 250ms.

But from the TCP/IP stack layer application is receiving data packet in 100ms.

Can we change the settings to receive data faster than the present rate...???

Any particular settings related to TCP tick server can help in doing this...??

Thanks and Regards,

NS.

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

502件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi NS:

I suggest you play with socket options to speed up incoming packet processing.

You can try OPT_RECEIVE_PUSH, OPT_RECEIVE_TIMEOUT or maybe you can use the socket in non-blocking mode.

Also increase the Rx Buffer size to larger value, 8 or 16 Kbytes.

I hope it helps.


Have a nice day,
Daniel

0 件の賞賛
返信

502件の閲覧回数
rpneeraj
Contributor II

Hi Daniel,

Those 2 flags, I am using while socket creation, let me check increasing of the RX buffer size to 8 or 16K, now its 4K.

Thanks for your reply.

NS

0 件の賞賛
返信