Managing Performance Using Thread Settings

Here are some hints on how to manage performance using settings found in the Replication Agent Options dialog and Replication Properties dialog.

Replication Agent Options Dialog (General Tab)

Max number of concurrent threads

Increasing this number will boost the performance but the CPU and memory usage will also increase and other applications running on the same PC might be affected.

Thread Delay

When this value is greater than 0, it represents the number of time slices the thread executes before going into a sleep state. The purpose of this parameter is to release some CPU resources if the CPU usage is too high. Setting this value to 1 instructs Syniti Data Replicationto suspend each thread for a fraction of time (Sleep(0)) at every time slice. 1 is the value that releases the maximum of the CPU usage but it's also the value that penalizes performance the most. Setting it to n indicates that a thread will sleep every n slices of time. If the thread delay is 0, the thread is never suspended if there are replications running.

Thread execution factor

This value is a factor indicating how much time a thread spends processing a task (time slice) before switching to the following task in the execution list. It is used to increase the time slice assigned to each task in the following way.  The number specified multiplies the slice of time assigned to each task (reader or writer). For example, if you double the value, the time assigned for each task is doubled.

Replication Properties Dialog

Thread Priority

This value affects the time slice assigned to a thread when the thread is running the current replication. It's similar to the "Thread execution factor", but relative to a specific replication. Increasing the thread priority of the replication might increase the performance because it increases the slice of time dedicated for processing the replication. However the performance is also affected by the total number of replications running and the "Max number of concurrent threads" value set in the Replication Agent Options dialog.