Compute migration
Compute migration consolidates scattered idle computing capacity into contiguous available resources through instance live migration, improving the schedulability of quotas.
Background
After GPUs in a quota run for an extended period, their instances become scattered across multiple nodes. No single node has enough GPUs to accommodate a new large-scale job, so the job must wait. Compute migration uses instance live migration to consolidate scattered idle computing capacity into contiguous available resources, which improves the schedulability of the quota.
Limitations
-
Only GPU quotas that use Lingjun intelligent computing resources or some general computing resource 2.0 quotas are supported. Dedicated resource groups for EAS aren't supported.
-
Only defragmentation is supported for EAS tasks.
This feature is available by whitelist only. To request access, contact your account manager.
Create a compute migration task
-
Log on to the PAI console.
-
In the left-side navigation pane, choose .
-
On the Lingjun Intelligent Computing resources or General Computing Resources tab, click the name of the target quota.
-
On the quota details page, click the Computing Power Migration tab.
-
Click Create Computing Power Migration Task.
-
In the Basic Information section, configure the following parameters:
-
Name: Required. The name can contain letters, digits, hyphens (-), and underscores (_). It must not start with a digit and can be up to 256 characters in length.
-
Description: Optional. A description of the task purpose. Can be up to 1024 characters in length.
-
-
In the Rule Information section, configure the following parameters:
-
Job Type: Only EAS is available. This value can't be changed.
-
Trigger Mechanism: Select Trigger Once or Regular Scheduling.
-
Trigger Once: The task runs only once. Set the Start Time.
-
Regular Scheduling: The task runs on a recurring schedule. Set the Scheduling Cycle (for example, every 1 day) and the Start Time.
-
-
-
In the Action Information section, the Action is set to Defragmentation and can't be changed.
-
Click Submit and Start.
If you select Submit Only , the task isn't executed. You must Enable the task from the compute migration task list later.
Manage defragmentation tasks
-
View the task list: On the Computing Power Migration tab, view all defragmentation tasks.
-
View the event list: Click a task name to go to the task details page, where you can view all execution events for that task.
-
Disable a task: For a scheduled task that you no longer need to run automatically, disable the task.
-
In the task list or on the task details page, click Disable.
-
The task status changes to Disabled. No new scheduled triggers are accepted.
ImportantAfter you disable a task, any in-progress events continue to run until completion. To stop them, cancel the events manually.
-
-
Cancel a running event: For an event that's currently running, click Cancel Execution in the Actions column of the event list.
ImportantAfter an event is canceled, instances that have already been migrated aren't rolled back.
-
Delete a task: For a task that you no longer need, click Delete in the Actions column of the task list.
FAQ
How does defragmentation affect my workloads?
The duration of a defragmentation task depends on the number and size of instances to migrate. Instance live migration doesn't interrupt running services, but run defragmentation during off-peak hours to minimize potential impact.