TCP-no-delay on pfSense VM
-
Hello,
I am trying to globally and persistently enable tcp-no-delay (disable Nagle's algorithm) on the pfSense operating system. I have tried using the sysctl command from the FreeBSD shell, as well as editing the /etc/sysctl.conf file, but neither net.inet.tcp.nodelay nor net.inet.tcp.no_delay are recognized. I've also tried the same in "System > Advanced > System Tunables" in the web UI, but have not had any success.
Is there a known way to do this?
P.S. I am aware that it is generally bad practice to completely disable Nagle's algorithm for a device. This is purely for developmental and testing purposes, and the device is used for a single application which is known to run more efficiently with Nagle's algorithm disabled.
-
Mmm, I'm not sure that's possible. Not globally like that at least. TCP_NODELAY looks to be a build option that you would apply to the application when it's compiled that it then applies to TCP sockets as it opens them. I could be wrong though....