From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling TCP delay (Nagle algorithm, tcp_no_delay) globaly on RT Linux

I am sending small messages ( a few strings) frequently ( <100ms) to RESTfull API. I found and tested that http://digital.ni.com/public.nsf/allkb/7EFCA5D83B59DFDC86256D60007F5839 and see much difference using the provided example. The problem I have got is that I am using RESTfull API which is build on top of HTTP and I don't have access to raw TCP port.

 

Does anybody knows how to turn off Nagle algorithm on  RT Linux (cRIO 9035) globaly?

 

I have also tried tcp_no_latency  flag: http://www.linuxvox.com/2009/11/what-is-the-linux-kernel-parameter-tcp_low_latency/ but it is being overwritten on the system startup. Has anybody had similar problem?

0 Kudos
Message 1 of 1
(2,471 Views)