Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipv4/tcp: Force applications to use TCP_NODELAY to improve network la…
…tency `TCP_NODELAY` will disable Nagle's algorithm, which basically collects small outgoing packets to send all at once. Thus `TCP_NODELAY` will send the data whenever it is available without waiting for any period to collect packets. It will basically optimize network video games and applications using chatty protocols (source: ExtraHop[1], RedHat[2]) [1]: https://www.extrahop.com/company/blog/2016/tcp-nodelay-nagle-quickack-best-practices/#:~:text=The%20TCP_NODELAY%20socket%20option%20allows,buffer%2C%20whatever%20the%20packet%20size. [2]: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/tuning_guide/tcp_nodelay_and_small_buffer_writes Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live> [Rasenkai: forward-port to 5.4] Signed-off-by: Rasenkai <rasenkai99@gmail.com> Change-Id: I2518d04969975c69c61d5e0acab7295702190b0d
- Loading branch information