IBM Support

Is it possible to disable TCP/IP's implementation of Nagle's algorithm?

Question & Answer


Question

Is it possible to disable the z/OS Communication Server TCP/IP implementation of Nagle's algorithm?

Answer

Nagle's algorithm prevents TCP from sending data packets which are smaller than a full segment unless all previously sent data has been ACKed.

The NAGLE parameter on the TCPCONFIG statement enables Nagle's algorithm for all TCP connections (unless explicitly disabled via the TCP_NODELAY setsockopt()). NAGLE is enabled by default.

For most workloads this is not a problem. However, for some workloads that perform multiple small sends without receiving any inbound data this can lead to significant latency issues. The setsockopt() TCP_NODELAY option allows applications to disable Nagle's algorithm for a given connection. Specifying NONAGLE on the TCPCONFIG statement disables Nagle's algorithm for all TCP connections.


[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

ZOSCS COMMSERVER

Document Information

More support for:
z/OS Communications Server

Operating system(s):
z/OS

Document number:
6133395

Modified date:
02 August 2017

UID

dwa1391403