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.
Product Synonym
ZOSCS COMMSERVER
Was this topic helpful?
Document Information
Modified date:
02 August 2017
UID
dwa1391403