Help Center> Server Migration Service> FAQs> Product Consultation> How Do I Configure Data Compression for a Linux Block-Level Migration?
Updated on 2023-11-29 GMT+08:00

How Do I Configure Data Compression for a Linux Block-Level Migration?

Scenario

By default, data compression is enabled for Linux block-level migrations. The number of compression threads (which is the same as the number of idle CPUs by default, and can be set to 3 at most) is automatically configured based on the resource usage of source servers. This may cause high CPU usage. In this case, you can modify the number of compression threads or disable data compression on the SMS console.

Procedure

  1. Log in to the SMS console.
  2. In the server list, locate the source server, and click Configure in the Target column.
  3. On the Configure Basic Settings tab, select Advanced Options.

  4. Configure the advanced options listed in the following table.

    Parameter

    Setting

    Data Compression

    • Select Yes if you want to enable data compression during the migration. Then Compression Threads will be available for you to configure.
    • Select No if you do not want to enable data compression during the migration.

    Compression Threads

    Configure the number of compression threads. If you select auto for this option, the system will configure the number of threads automatically. You can also enter an integer from 1 to 3.

    Cache Node Size (MB)

    Specify the size of a single data cache node. The value must be an integer ranging from 1 to 8. The default value is 4.

    Data compression occupies a large amount of CPU resources. When you enable it, you need to consider the actual resource usage of the source server to prevent services on it from being affected. For details about the default resource usage, see How Many Resources Will Be Used for a Linux Block-Level Migration?

Modifying Advanced Options

You can modify advanced migration options for tasks in which the target servers have been configured but the migration is not started, those have been paused, and those in which the full migration is complete and incremental synchronizations are to be performed. After locating such a task, choose More > Set Migration Limits in the Operation column to modify the settings of Data Compression, Compression Threads, and Cache Node Size.

Product Consultation FAQs

more