2.9 Optimizing Data Transfer over WAN Connections

You can optimize data transfer performance and fine tune it for WAN connections. You do this by modifying configuration parameters that the system reads from settings you make in a configuration tool residing on your PlateSpin Server host. For the generic procedure, see Configuring PlateSpin Server Behavior through XML Configuration Parameters.

Use these settings to optimize data transfers across a WAN. These settings are global and affect all replications using the file-based and VSS replications.

NOTE:If these values are modified, replication times on high-speed networks, such as Gigabit Ethernet, might be negatively impacted. Before modifying any of these parameters, consider consulting PlateSpin Support first.

Table 2-6 lists the configuration parameters that control file transfer speeds with the defaults and maximum values. You can modify these values through trial-and-error testing in order to optimize operation in a high-latency WAN environment.

Table 2-6 Default and Optimized File Transfer Configuration Parameters in https://Your_PlateSpin_Server/platespinconfiguration/

Parameter

Default Value

Maximum Value

AlwaysUseNonVSSFileTransferForWindows2003

False

 

FileTransferCompressionThreadsCount

Controls the number of threads used for packet-level data compression. This setting is ignored if compression is disabled. Because the compression is CPU-bound, this setting might have a performance impact.

2

N/A

FileTransferBufferThresholdPercentage

Determines the minimum amount of data that must be buffered before creating and sending new network packets.

10

 

FileTransferKeepAliveTimeOutMilliSec

Specifies ow long to wait to start sending keep alive messages if TCP times out.

120000

 

FileTransferLongerThan24HoursSupport

True

 

FileTransferLowMemoryThresholdInBytes

Determines when the server considers itself to be in a low memory state, which causes augmentation of some networking behavior.

536870912

 

FileTransferMaxBufferSizeForLowMemoryInBytes

Specifies the internal buffer size used in a low memory state.

5242880

 

FileTransferMaxBufferSizeInBytes

Specifies internal buffer size for holding packet data.

31457280

 

FileTransferMaxPacketSizeInButes

Determines the largest packets that will be sent.

1048576

 

FileTransferMinCompressionLimit

Specifies the packet-level compression threshold in bytes.

0 (disabled)

max 65536 (64 KB)

FileTransferPort

3725

 

FileTransferSendReceiveBufferSize

Specifies the TCP/IP window size setting for file transfer connections. It controls the number of bytes sent without TCP acknowledgement, in bytes.

When the value is set to zero (off), the default TCP window size is used (8 KB). For custom sizes, specify the size in bytes. Use the following formula to determine the proper value:

((LINK_SPEED(Mbps)/8)*DELAY(sec))*1000*1000

For example, for a 100 Mbps link with 10 ms latency, the proper buffer size would be:

(100/8)*0.01*1000*1000 = 125000 bytes

0 (8192 bytes)

max 5242880 (5 MB)

FileTransferSendReceiveBufferSizeLinux

Specifies the TCP/IP window size setting for file transfer connections for Linux. It controls the number of bytes sent without TCP acknowledgement, in bytes.

When the value is set to zero (off), the TCP/IP window size value for Linux is automatically calculated from the FileTransferSendReceiveBufferSize setting. If both parameters are set to zero (off), the default value is 248 KB. For custom sizes, specify the size in bytes.

NOTE:In previous release versions, you were required to set this parameter to 1/2 the desired value, but this is no longer required.

0 (253952 bytes)

 

FileTransferShutDownTimeOutInMinutes

1090

 

FileTransferTCPTimeOutMilliSec

Sets both the TCP Send and TCP Receive Timeout values.

30000

 

PostFileTransferActionsRequiredTimeInMinutes

60