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...??

595 次查看
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 回复数

451 次查看
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 项奖励

451 次查看
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 项奖励