Tuning Low-Level Network Settings

This article describes how to tune the low-level TCP and UDT network settings of the client to achieve higher transfer rates or to optimize the client to your network.


The settings described in this article require a basic understanding of the IP protocol stack, therefore you shouldn’t try to change it, if you are lacking experience. Furthermore, we also recommend to read the article about TCP Tuning on Wikipedia before proceeding.

 

1. To tune the TCP/UDT Socket Buffer Size:

You can check and control the TCP send and receive buffer (SO_RCVBUF/SO_SNDBUF) by adding the entries below to the Client Configuration File:

# TCP and UDT connections
net.socket.internet.buffer.size=16384
net.socket.lan.buffer.size=65536
# UDT Connections only
net.socket.internet.buffer.limit=262144
net.socket.lan.buffer.limit=1048576

 

2. To tune the Chunk Size and Queue:

Files get transferred over the network in small packets called file chunks. These chunks contain a certain amount of data (e.g. 32KB) transferred as one to a remote device. If the client requests multiple chunks at once from the remote device, they will be  stored in a queue.

2.1 Configuring the maximum Size of a File Chunk:

To configure the maximum size of a file chunk, enter the following command:

transfers.max.file.chunk.size=32768

 

2.2 Configuring the maximum Number of File Chunks in the Queue:

To configure the maximum file chunk queue size, enter the following command:

transfers.max.requested.queued=15