Content

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 have no 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