Low level network settings

From PowerFolder Wiki
Jump to: navigation, search

Preface

This article explains how to tune low level network settings of PowerFolder such as TCP / UDT socket buffer sizes, file chunk sizes and chunk download request queue size. If you never heard of TCP or UDP you should stop reading now. Thes settings require a basic understanding of the network fundamentals of the IP protocol stack.

The values used in the examples reflect the default values.

TCP / UDT Socket buffer size

You can control the TCP send and receive buffer size (SO_RCVBUF / SO_SNDBUF). Add the following line the config file to control the size:

# 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

Transfer settings

PowerFolder supports to change the follow transfer parameter:

Maximum size of a file chunk

Files get transferred over the network in small messages called file chunks. These contain a certain amount of data (e.g. 32 KB) that gets transferred at once to the remote computer. The following config file line controls the maximum amount of data in one file chunk:

transfers.max.file.chunk.size=32768

Maximum file chunk request queue

During file download PowerFolder requests a number of file chunks from the uploader. The following setting control the maximum number of requests sent to the uploader:

transfers.max.request.queued=15

Bandwidth limit options

Bandwidth limit options can be changed directly in the user interface under Preferences.

Personal tools
Navigation