By default, the SMC client uses the single-threaded data transfer model, which may have bottlenecks in some network environments. You can enable multi-threaded transfer acceleration to maximize bandwidth utilization and improve transmission efficiency in high-bandwidth scenarios. SMC client V220.127.116.11 and later support multi-threaded transfer acceleration.
Enabling multithreading increases CPU and bandwidth consumption on the source server. The more the threads, the more resources are consumed. Therefore, you must determine the number of threads based on the CPU cores and bandwidth conditions of the source server.
In a network environment with single-stream limit or low bandwidth, multi-threaded transfer may be not as efficient as single-threaded transfer. If conditions permit, upgrade the CPU of the source server to improve transmission efficiency.
- Download and decompress the SMC client package.
- On the migration source, download the SMC client.
- Decompress the SMC client package.
The SMC client is available for Windows and Linux in both the 32-bit version (i386) and the 64-bit version (x86_64). Select the version compatible with the migration source. The following figure shows the decompressed client folder.
- Decompress the selected client version.
The following figure shows the files and directories stored in the decompressed folder.
Table 1. Description of SMC client files File or folder Description go2aliyun_client.exe The Windows CLI executable file. go2aliyun_gui.exe The Windows GUI executable file. For more information about the GUI version, see Use the Windows GUI version of the SMC client. go2aliyun_client The Linux CLI executable file. user_config.json The configuration file of the migration source and destination. Excludes The folder in which to add directories to exclude from migration. client_data The migration data file, which includes the intermediate instance information and migration progress.
- Go to the directory of the SMC client.
- Open the client_data file and configure the parameters required for multithreading.
You only need to set
extra.rsync.multi_threads.numberto a value greater than or equal to 2 to enable multithreading. The following figure shows that four threads have been configured for the SMC client.
Table 2. Multithreading parameters Parameter Type Description extra.rsync.multi_threads.number Integer The number of threads.
- If this parameter is set to 0 (default value), multithreading is disabled.
- If this parameter is set to a value greater than or equal to 2, multithreading is enabled.
extra.rsync.multi_threads.mode Integer The multithreading mode. This is a reserved parameter that does not need to be modified.
Default value: 0.
extra.rsync.multi_threads.bandwidth_limit Integer The maximum bandwidth of each thread. Unit: KB/s.
The default value is 0, which indicates unlimited bandwidth.
- Close the client_data file and perform migration.
For detailed steps on how to use SMC for a migration, see Migration process.