The tcp_nagle_limit option

The tcp_nagle_limit network option is a global network option and is set to 65536 by default.

TCP disables the nagle algorithm for segments equal or larger than this value so you can tune the threshold at which nagle is enabled. For example, to totally disable nagle, set the tcp_nagle_limit value to 1. To allow TCP to bundle up sends and send packets that are at least 256 bytes, set the tcp_nagle_limit value to 256.