n

Determines whether the Nagle algorithm is used to bundle data packets into larger network packets before they are sent.

USYS$TCP_PARAMS {=} n=0 | 1

Arguments

  • 0—disables the Nagle algorithm, and sets the TCP_NODELAY parameter, so that data is transmitted immediately. This is the default. On a heavily loaded network, this can add to performance problems.
  • 1—enables the Nagle algorithm. This can cause noticeable delays on some TCP stack implementations.

Use

Set to the same value in all assignment files.

Description

By default, TCP/IP does not use the Nagle algorithm to bundle data packets into larger network packets, which delays transmission of some data for a short time until enough data is available for the optimal package, and limits the number of network packages. This is especially useful on overloaded networks, but it can cause problems for applications with low-bandwidth or time-sensitive transmissions.