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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

584 Views
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.

Labels (1)
0 Kudos
2 Replies

440 Views
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 Kudos

440 Views
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 Kudos