Help Center/ Migration Center/ FAQs/ Storage Migration/ How Do I Configure the Maximum Number of Concurrent Migration Subtasks?
Updated on 2026-06-30 GMT+08:00

How Do I Configure the Maximum Number of Concurrent Migration Subtasks?

Background

In a migration task, the maximum number of concurrent subtasks (threads) directly affects the CPU usage, network throughput, and migration speed. Too few threads lead to resource underutilization, while too many threads cause excessive context switching, degrading overall performance.

Based on actual test data, the following section provides recommended concurrent subtask configurations for different file sizes to optimize migration efficiency.

Small Files (< 1 KB, such as 40 bytes)

  • Processing such small files incurs high CPU computational overhead.
  • The serialization and metadata processing of each object consume CPU resources.
  • Excessive threads lead to severe thread context switching, which reduces the migration efficiency.

Item

Recommended Value

Expected Performance

Max. Concurrent Subtasks

Migration nodes: 2

  • CPU usage: 80% to 90%
  • Load average: < 22
  • Memory pressure: low

Small Files (< 1 MB, such as 30 KB)

  • CPU consumption remains relatively high when such small files (< 1 MB, such as 30 KB) are processed.
  • Compared with 40-byte files, the I/O ratio slightly increases.
  • You can increase the number of concurrent tasks to maximize CPU utilization.

Item

Recommended Value

Expected Performance

Max. Concurrent Subtasks

Migration nodes: 3

  • CPU usage: 85% to 92%
  • Load average: < 25
  • Memory pressure: low

Medium Files (< 10 MB, such as 1 MB)

  • The file size is moderate, and the CPU and I/O load is well balanced.
  • Larger files result in more time spent waiting for I/O operations.
  • More concurrent tasks are supported.

Item

Recommended Value

Expected Performance

Max. Concurrent Subtasks

Migration nodes: 4 to 6

  • CPU usage: 85% to 93%
  • Load average: < 30
  • Memory pressure: significantly increased

Large Files (≥ 10 MB)

  • The time required for migrating large files (≥ 10 MB) is heavily dominated by I/O operations.
  • During the migration of large files, threads spend most of their time waiting for network I/O operations.
  • Higher concurrency is supported to fully utilize the wait time.

Item

Recommended Value

Expected Performance

Max. Concurrent Subtasks

Migration nodes: 6 to 10

  • CPU usage: 80% to 88%
  • Load average: < 35
  • Memory pressure: approaching the maximum capacity

Quick Reference Table

File Size

Recommended Concurrency

Expected CPU Usage

Scenario

< 1 KB, such as 40 bytes

Nodes: 2

80% to 90%

Small object migration by list

< 1 MB, such as 30 KB

Nodes: 3

85% to 92%

Small object migration by list

< 10 MB, such as 1 MB

Nodes: 4 to 6

85% to 93%

Medium object migration

≥ 10 MB

Nodes: 6 to 10

80% to 88%

Large object migration