Set the synchronization rate
About this task
The resync
command has a --ratePerSecondFile
option that enables a specific synchronization rate. The option can be used to adjust the rate during off-peak hours, or adjust the rate based on measured loads for very long operations.
The |
Run the resync
command first at 100 operations per second, measure the impact on the source servers, then adjust as needed. The file must contain a single positive integer number surrounded by white space. If the file is updated with an invalid number, the rate is not updated.
Steps
-
Create a text file containing the rate. The number must be a positive integer surrounded by white space.
$ echo ’100 ’ >rate.txt
-
Run the
resync
command with the--ratePerSecondFile
option.$ bin/resync --pipe-name "sun-to-ds-sync-pipe" \ --ratePerSecondPath rate.txt