TCPWINDOWSIZE

The TCPWINDOWSIZE option specifies, in kilobytes, the amount of received data that can be buffered at one time on a TCP/IP connection. The sending host cannot send more data until it receives an acknowledgment and a TCP receive window update. Each TCP packet contains the advertised TCP receive window on the connection. A larger window lets the sender continue sending data, and might improve communication performance, especially on fast networks with high latency.

Tip: The TCP window acts as a buffer on the network. To help improve backup performance, increase the value of the TCPWINDOWSIZE option on the server. To help improve restore performance, increase the value of the tcpwindowsize option on the client.

A window size larger than the buffer space on the network adapter might degrade throughput due to resending packets that were lost on the adapter.

Linux operating systemsAIX operating systemsThe TCPWINDOWSIZE option is not related to the tcpbuffsize client option, the TCPBUFSIZE server option, nor to the send and receive buffers allocated in client or server memory.

Syntax

Read syntax diagramSkip visual syntax diagramTCPWindowsizekilobytes

Parameters

kilobytes

Specifies the size, in kilobytes, for the TCP/IP sliding window for your client node. You can specify a value in the range 0 - 2048. On the IBM® AIX® operating system, the default value is 256 KB. On the Linux® and Microsoft Windows operating systems, the default value is 0, which matches the operating system default. On Linux and Microsoft Windows, the default value supports automatic tuning of the Transmission Control Protocol (TCP) sliding window for flow control, and this automatic tuning can lead to improved system performance. If you specify 0, the server uses the default window size set by the operating system. If you specify a value in the range 1 - 2048, the window size is in the range 1 KB - 2 MB.

Example

tcpwindowsize 63