How to check value of Nagle Algorithm?

mac2022-06-30  20

How to check value of Nagle Algorithm?

 SOLUTION UNVERIFIED - 已更新 2013年八月8日04:22 - 

English 

环境

Red Hat Enterprise Linux 5

问题

Need to know how to check value of Nagle Algorithm, also how to set the value and the files that need to be edited?

决议

It is a socket option set at the time of coding. There are no files or configuration which can be change. To see if the application is setting it then need to use strace and at the time of starting the application. Developer can set this using setsockopt command. Refer following man pages for more information.

Raw

tcp(7) setsockopt(3p) setsockopt(2)

Reference: TCP_NODELAY and Small Buffer Writes

最新回复(0)