A method and related device for quantitatively evaluating the adjustability of a data center computing power task
By constructing a task migration executable domain and a multi-task stage coupled migration feasible domain, and combining UPS and cooling/heating inertia to assess the adjustability of data center computing power tasks, the problem of inaccurate data center load elasticity assessment is solved, and the executability and reliability of load adjustment are realized.
Patent Information
- Application Number
- CN202611692650.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to accurately assess the adjustability of data center computing power tasks, leading to inaccurate assessments of load elasticity potential, poor dynamic adaptability and reliability, and an inability to effectively achieve load peak shaving and valley filling, as well as the consumption of renewable energy.
By constructing a task migration executable domain, calculating the duration of the entire migration process and the task completion margin, and combining UPS operating efficiency and cooling thermal inertia to form the input power response trajectory of the data center, a multi-task stage coupled migration feasible domain is established. Counterfactual baseline load is constructed using historical fragments without active migration, and the state-driven power response model of the migration stage is corrected.
It improves the physical feasibility, dynamic adaptability, and external commitment reliability of data center load resilience potential assessment, avoids resource conflicts and network congestion, and ensures the feasibility and accuracy of load adjustment.
Smart Images

Figure CN123178097A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computing power task scheduling technology, and relates to a method and related apparatus for quantitatively evaluating the adjustability of data center computing power tasks. Background Technology
[0002] With the rapid development of artificial intelligence training, scientific computing, cloud computing, and large-scale data processing, the power load of data centers and intelligent computing centers continues to grow. Simultaneously, the proportion of renewable energy in the power system is increasing, leading to a growing demand from the power grid for flexible load resources that can respond quickly, be sustainably regulated, and accurately report requirements. Many training, inference, batch processing, and offline analysis tasks within data centers exhibit flexibility in terms of completion time, execution nodes, and resource allocation. By changing task execution times, migrating tasks between different local computing nodes, or migrating tasks between local data centers and remote collaborative computing resource pools, load reduction, load increase, and load shifting capabilities can be achieved. Therefore, accurately assessing the actual load elasticity that data centers can provide at different adjustment start times and durations is a crucial foundation for data centers to participate in peak shaving, renewable energy consumption, and demand response.
[0003] In existing technologies, one approach primarily evaluates the flexibility or portability of computational tasks based on indicators such as task priority, timeliness, data dependency, and resource requirements, and classifies tasks into different levels according to preset thresholds. While this method can express the relative suitability of task migration, it struggles to directly determine whether a task can be migrated at the current moment, which target nodes it can be migrated to, and whether the task deadline will still be met after migration. When the remaining computational workload, checkpoint data volume, network bandwidth, and the GPU (Graphics Processing Unit) or CPU (Central Processing Unit) resources of candidate target nodes change, the actual executability of the same task will dynamically change, and static level evaluations cannot reflect these changes.
[0004] Another approach estimates data center adjustability by calculating the power of the servers currently associated with the migrated task or the load percentage of the migrated task. However, a task migration is not an instantaneous disappearance of the source node's load. Task migration typically involves stages such as checkpoint generation, data synchronization, target node environment establishment, overlapping resource usage between source and target nodes, target task recovery, and source node resource release. During the migration process, the source node may still maintain some computing resource usage, while the target node has already begun reserving or loading task resources, and network switching equipment generates additional transmission power consumption. If the migration stages are not differentiated by timing, it is easy to prematurely include the source node power release or ignore the dual resource usage during the migration stage, thereby overestimating the adjustability.
[0005] Besides IT (Information Technology) equipment, computing task migration also alters the operating point of UPS (Uninterruptible Power Supply) and the heat load of the data center. UPS efficiency varies with the protected IT load rate, and IT power changes affect cooling power through rack heat capacity, air transport, and cooling equipment control processes. Therefore, the response of data center grid-side input power to task migration is phased and time-lag-dependent. Simply adding server power, network power, UPS power, and cooling power statically is insufficient to accurately reflect the data center input power response process at different stages of task migration. Furthermore, multiple computing tasks meeting migration conditions individually do not mean they can migrate simultaneously. Multiple migration actions may enter the data synchronization phase at the same time, competing for the same network link, or they may share target GPU resources, rack capacity, or UPS capacity during the source-target dual-occupancy phase. When the adjustable capabilities of a single task are directly superimposed, target resource conflicts, network congestion, excessive migration concurrency, or local power distribution equipment exceeding limits may occur, preventing the theoretical adjustment potential from being realized in actual execution. Furthermore, when assessing power changes caused by task migration, it is necessary to determine the data center baseline load under conditions of no active migration. If the historical baseline sample is constructed directly using the method of "measured power minus estimated migration response," the estimated migration response itself depends on the baseline load, which can easily lead to a circular dependency between the baseline load and the migration power response. On the other hand, actual migration start delays, changes in network throughput, changes in target node resources, and cooling response deviations can all cause discrepancies between planned and actual adjustment amounts. If only the total deviation or uniform historical error is used to reduce the theoretical adjustment capacity as a whole, it is impossible to identify the different sources of error, and it is also difficult to specifically feed the actual execution results back to the corresponding migration stage model.
[0006] In summary, there is an urgent need for a quantitative assessment method for the adjustability of data center computing power tasks, in order to improve the physical feasibility, dynamic adaptability, and reliability of external commitments in the assessment of data center load elasticity potential. Summary of the Invention
[0007] The purpose of this invention is to provide a method and related apparatus for quantitatively evaluating the adjustability of data center computing power tasks, so as to solve the technical problems of poor reliability, low dynamic adaptability and low performance in the prior art of evaluating the load elasticity potential of data centers.
[0008] To achieve the above objectives, the present invention employs the following technical solution: In a first aspect, the present invention provides a method for quantitatively evaluating the adjustability of data center computing power tasks, comprising the following steps: For tasks in the data center, establish task execution state vectors, construct candidate migration actions and migration stage state sequences; calculate the duration of the entire migration process and task completion margin in sequence, and then generate the task migration executable domain; Based on the task migration executable domain, the IT power change corresponding to different migration stages of the task is calculated, and the input power response trajectory of the data center is formed by combining UPS working efficiency and cooling thermal inertia. For the case of multiple tasks migrating simultaneously, constraints are constructed based on the current migration stage of each task. These constraints include resource constraints of source and target nodes, shared network and migration concurrency constraints, and power supply and distribution capacity constraints, forming a feasible domain for coupled migration of multiple task stages. This leads to the construction of a data center power response model driven by the migration stage state. Based on the data center's operating status before the adjustment command is executed, a counterfactual baseline load is formed by matching historical non-active migration operation segments. The multi-task stage coupled migration feasible domain is projected onto the data center's input power space, and a bidirectional load elastic boundary is generated by combining the input power response trajectory. After the adjustment command is executed, the unfulfilled adjustment amount is calculated, the parameters of the data center power response model driven by the migration phase are corrected, and the bidirectional load elastic boundary is corrected.
[0009] Furthermore, the steps of establishing a task execution state vector for the data center task, constructing candidate migration actions and migration stage state sequences, and sequentially calculating the duration of the entire migration process and the task completion margin to generate the task migration executable domain specifically include: For the task i Construct a task running state vector; the task running state vector includes a unique task identifier, the current source computing node, the latest completion time of the task, the remaining computing workload, the computing resource requirement vector, the amount of data to be synchronized during migration, the amount of data at task checkpoints, task dependencies, and the task interruptibility attribute. Define candidate migration actions for the task migration from the source node to the candidate target node; establish a migration phase state sequence for the candidate migration actions; Calculate the total migration process duration; the total migration process duration is determined based on the sum of the checkpoint generation time, data synchronization time, the duration of dual resource occupancy between the source and target nodes, and the time required for the target node to resume operation; Calculate the task completion margin after migration based on the duration of the entire migration process; After the task completion margin meets the requirements, further verification is performed on the target node's computing resources, actual network bandwidth, task dependencies, and task interruptibility attributes to form a task. i The task migration executable domain.
[0010] Furthermore, the step of calculating the IT power changes corresponding to different migration stages of a task based on the task migration executable domain, and forming the input power response trajectory of the data center by combining UPS operating efficiency and cooling thermal inertia, specifically includes: Define state variables for the transition phase, for the first... q For each type of computing resource, the resource usage of the source node, the resource usage of the target node, and the network bandwidth usage are calculated separately according to the migration stage. Based on the resource occupancy of the source node and the resource occupancy of the target node, the power changes of the source node and the target node are calculated using a server power model; based on the network bandwidth occupancy, the additional power for network transmission is obtained using a network power model; the power changes of the source node, the power changes of the target node, and the additional power for network transmission are added together to obtain the power changes on the IT side during the migration phase. The changes in UPS losses and the hysteresis power response of the cooling system caused by task migration are calculated separately. Combined with the power changes on the IT side, the input power response trajectory of the data center is formed.
[0011] Furthermore, the expressions for the resource constraints of the source node and the target node are as follows:
[0012] in, Represents a node j In the k The time period has been occupied by existing tasks. q Class resources; Represents a node j No. q Maximum available capacity of the resource class; Indicates candidate migration action In the k The target node in the [time period] q The amount of resources used; For the purpose of the task i Candidate transfer actions Defined migration action decision variables; Indicates task i The set of candidate migration actions; The expressions for the shared network and migration concurrency constraints are as follows:
[0013]
[0014] in, Indicates candidate migration action In the k Shared links for each time period l Bandwidth usage; Indicates link l In the k The actual available bandwidth for each time period; Indicates an indicator function; The maximum number of concurrent migration tasks allowed; Indicates task i Perform candidate migration actions The start time of migration; Indicates task i Perform candidate migration actions The moment when the migration ends; The expression for the power supply and distribution capacity constraint is:
[0015]
[0016] in, Indicates the first r The base power of a rack, PDU, or power distribution unit; This indicates the power change caused by the candidate migration action to the power supply object; The maximum power allowed by the device; Indicates the UPS reference input power; This indicates the change in UPS input power caused by the candidate migration action; Indicates the maximum allowable input power of the UPS; The expression for the feasible region of coupled migration in the multi-task phase is:
[0017] in, Indicates time t The corresponding multi-task stage coupled migration feasible region; Indicates the task deadline constraint; Indicates timing constraints during the migration phase; Indicates computational resource constraints; Indicates network bandwidth constraints; Indicates migration concurrency constraints; Indicates task dependency constraints; This indicates power supply and distribution capacity constraints; This indicates a migration combination.
[0018] Furthermore, the steps of matching and forming a counterfactual baseline load from historical non-active migration operation segments based on the data center operating state before the execution of the adjustment command, projecting the multi-task stage coupled migration feasible region onto the data center input power space, and calculating and generating a bidirectional load elastic boundary in conjunction with the input power response trajectory specifically include: Construct a feature vector of the operating state before adjustment based on the IT power before adjustment, the cooling power before adjustment, the UPS load rate, the average GPU utilization, the current task load level, and the external ambient temperature; Based on the feature vector of the running state before adjustment, the running state distance between the historical segment and the current moment is calculated; historical segments whose distance does not exceed the counterfactual sample matching threshold and do not have active task migration actions are selected as the counterfactual candidate sample set. The measured data center input power for subsequent time periods is weighted according to the similarity weight of historical segments in the counterfactual candidate sample set to generate the counterfactual baseline load; Calculate the load reduction boundary based on the counterfactual baseline load and input power response trajectory. and load increase boundary This generates a bidirectional load elastic boundary. .
[0019] Furthermore, after the adjustment command is executed, the steps of calculating the unfulfilled adjustment amount, correcting the parameters of the data center power response model driven by the migration phase state, and correcting the bidirectional load elastic boundary specifically include: After the adjustment command is executed, the deviation between the planned response and the actual response is calculated to obtain the unfulfilled adjustment amount; Construct a counterfactual response sequence by replacing each of the planned and actual migration parameters one by one. The response loss caused by migration start-up time deviation, network state deviation, target node resource state deviation, cooling response deviation, and other unmodeled factors are obtained by subtracting each adjacent counterfactual adjustment response in the counterfactual response sequence. When a certain response loss exceeds a preset threshold, the parameters of the data center power response model driven by the migration phase are corrected; a safety correction margin is calculated based on historical execution samples that match the current adjustment direction, migration task type, source target resource pool, network bandwidth range, IT load rate, UPS load rate, and thermal state; and the safety correction margin is used to correct the bidirectional load elasticity boundary.
[0020] Furthermore, the counterfactual response sequence includes a first counterfactual adjustment response calculated with all planned parameters, a second counterfactual adjustment response that only replaces the actual migration start time, a third counterfactual adjustment response that further replaces the actual network bandwidth, a fourth counterfactual adjustment response that further replaces the actual target node resource status, and a fifth counterfactual adjustment response that further replaces the actual cooling response parameters.
[0021] Secondly, the present invention provides a system for quantitatively evaluating the adjustability of data center computing power tasks, comprising: The task migration executable domain construction module is used to establish task running state vectors for tasks in the data center, construct candidate migration actions and migration stage state sequences; calculate the duration of the entire migration process and the task completion margin in sequence, and then generate the task migration executable domain. The power response building module for the migration phase is used to calculate the IT power changes corresponding to different migration phases of a task based on the task migration executable domain, and to form the input power response trajectory of the data center by combining UPS operating efficiency and cooling thermal inertia. The multi-task stage coupled feasible domain construction module is used to construct constraints based on the current migration stage of each task when multiple tasks migrate simultaneously. The constraints include resource constraints of source and target nodes, shared network and migration concurrency constraints, and power supply and distribution capacity constraints, forming a multi-task stage coupled migration feasible domain, and constructing a data center power response model driven by the migration stage state. The counterfactual baseline and elastic boundary calculation module is used to match and form a counterfactual baseline load from historical non-active migration operation segments based on the data center's operating status before the adjustment command is executed, project the multi-task stage coupled migration feasible domain onto the data center input power space, and calculate and generate a bidirectional load elastic boundary in combination with the input power response trajectory. The actual response counterfactual attribution and parameter write-back module is used to calculate the unfulfilled adjustment amount after the adjustment command is executed, correct the parameters of the data center power response model driven by the migration phase, and correct the bidirectional load elastic boundary.
[0022] Thirdly, the present invention provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the adjustable quantitative evaluation method for a data center computing power task as described above.
[0023] Fourthly, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the adjustable quantitative evaluation method for data center computing power tasks as described above.
[0024] Compared with the prior art, the present invention has the following beneficial effects: This invention discloses a method and related apparatus for quantitatively evaluating the adjustability of data center computing power tasks. It divides a single task migration action into several migration stages, using the migration stage state as a common state variable that permeates changes in tasks, computing resources, network resources, and power, thus creating a unified temporal description of task migration executability and the actual load adjustment process. Based on this, the invention establishes a computing power-power response relationship driven by migration stage states, reflecting the peak resource levels and input power changes during the dual occupancy of source and target nodes. It also considers the subsequent impact of UPS operating point changes and cooling / thermal inertia on the data center's input power, avoiding directly treating source server power as a load adjustment variable. Furthermore, based on resource occupancy during multi-task migration stages, the invention constructs a coupled migration feasibility domain for multiple task stages, not only determining whether each task is individually feasible but also verifying the feasibility of different tasks during the same time period and at different migration stages. During the migration phase, the shared use of source nodes, target nodes, network links, and power supply and distribution equipment reduces the potential overestimation caused by the direct superposition of the adjustment capabilities of multiple single tasks. In addition, this invention utilizes historical fragments without active migration to construct a counterfactual baseline load that matches the current pre-adjustment state, avoiding the circular dependency caused by subtracting measured power from the estimated migration response. After actual execution, through factor-wise counterfactual replacement, the total response deviation is attributed to migration delay, network, computing resources, and cooling response, respectively. The parameters of the data center power response model driven by the corresponding migration phase state are written back in a targeted manner, so that the theoretical elastic boundary gradually converges to the real achievable capability. Finally, an executable, verifiable, and continuously calibrated closed loop for assessing the data center load elasticity adjustment potential is formed, which significantly improves the physical executability, dynamic adaptability, and external commitment reliability of the data center load elasticity potential assessment. Attached Figure Description
[0025] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a flowchart of the method of the present invention; Figure 2 This is a schematic diagram of the system of the present invention. Detailed Implementation
[0027] The technical solution of this application will be described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments described below are used to explain the technical solution of this application and are not intended to limit actual use.
[0028] See Figure 1 This invention discloses a method for quantitatively evaluating the tunability of data center computing power tasks, comprising the following steps: S1. Establish a task running state vector for the tasks in the data center, construct candidate migration actions and migration stage state sequences; calculate the duration of the entire migration process and the task completion margin in sequence, and then generate the task migration executable domain. S101, for the mission i Construct a task running state vector that includes a unique task identifier, the current source computing node, the latest completion time of the task, the remaining computational workload, the computational resource requirement vector, the amount of data to be synchronized during migration, the amount of task checkpoint data, task dependencies, and the task's interruptibility attribute. :
[0029] in, Indicates task i A unique identifier; Indicates the current source compute node where the task is located; Indicates the latest time the task can be completed; This indicates the remaining computational workload for the task. This represents a vector of computing resource requirements, consisting of CPU, GPU, memory, and storage resources needed for a task. This indicates the amount of data that needs to be synchronized during migration; Indicates the amount of data at the task checkpoint; It indicates the predecessor, successor, or shared data dependency between tasks and other tasks; This indicates that the task is interruptible. When... At that time, no active migration action corresponding to the task will be generated.
[0030] S102, for the mission i At any moment τ From the source node Migrate to candidate target node Define candidate migration actions:
[0031] in, Indicates task i From the source node To the target node Initiated and start time is τ Candidate migration actions.
[0032] For the candidate migration action, establish a migration stage state sequence:
[0033] in, This indicates the checkpoint generation phase; Indicates the data synchronization phase; This indicates a dual-occupancy phase where both the source and target nodes retain task-related resources, i.e., a source-target dual-occupancy phase. Indicates the target recovery phase; This represents the stable operation phase after the source node has completed resource release. The various phases are described in accordance with... The order of conversion.
[0034] S103, calculate the total duration of the migration process; Data synchronization time is expressed as:
[0035] in, Indicates task i At any moment τ Migrate to target node Data synchronization time; This indicates the actual available network bandwidth between the source node and the target node at the time of migration.
[0036] The total duration of the migration process is determined based on the checkpoint generation time, data synchronization time, duration of dual resource occupancy between source and target nodes, and time required for the target node to recover.
[0037] in, Indicates the total duration of the candidate migration action; Indicates the time when the task checkpoint was generated; Indicates the duration of dual resource occupancy between the source and target nodes; This indicates the time required for the task to resume operation on the target node.
[0038] S104, Calculate the task completion margin after migration based on the duration of the entire migration process; Based on the task at the target node Equivalent computing speed Calculate the remaining task execution time after migration:
[0039] in, Indicates the remaining execution time after the task is migrated to the target node; Indicates task i The remaining computational workload at the candidate migration time; Represents the target node For the task i The equivalent computational speed. Further calculations of task completion margin:
[0040] in, This indicates the remaining leeway between the task's deadline and the execution of the candidate migration action. When When this happens, the corresponding candidate migration action will be excluded from the task migration executable domain. This indicates the remaining execution time required for the task to complete the migration.
[0041] S105, after the task completion margin meets the requirements, further verify the target node's computing resources, actual network bandwidth, task dependencies, and task interruptibility attributes to form the task. i Task migration executable domain:
[0042] in, Indicates task i Task migration executable domain; Indicates task i The vector of computational resource requirements for execution; Indicates candidate target node At any moment τ The remaining computational resource vector below; Indicates task i The minimum network bandwidth required to perform the migration; Indicates at time τ The dependencies for the next task are met.
[0043] S2, based on the task migration executable domain, calculates the IT power changes corresponding to different migration stages of the task, and combines UPS working efficiency and cooling thermal inertia to form the input power response trajectory of the data center. S201 defines the state variables for the transition phase.
[0044] definition Indicates task i Corresponding candidate transfer actions In the k The range of values for each adjustment period within the transition phase is as follows:
[0045] in, k Indicates the discrete adjustment period; Based on the start time of candidate migration actions τ And the duration of each migration stage calculated in S103 is determined.
[0046] S202, resource usage status during the computation phase.
[0047] Regarding the first q For computing resources, the resource consumption of the source node, the resource consumption of the target node, and the network bandwidth consumption are calculated separately according to the migration stage:
[0048]
[0049]
[0050] in, Indicates candidate migration action During the period k For the source node q The amount of resources used; Indicates the target node's... q The amount of resources used; This indicates the amount of network bandwidth used; Indicates task i For the q The rated requirements for this type of resource; This indicates the data transmission bandwidth requirements of the candidate migration action; This represents the resource occupancy coefficient of the source node under different migration stages; This represents the resource occupancy coefficient of the target node under different migration stages; This represents the network occupancy coefficient at different migration stages; stage, and .
[0051] S203, calculate the power changes on the IT side during the migration phase.
[0052] Based on the resource consumption of the source node and the target node, through the server power model and Calculate the power changes of the source node and the target node; based on network bandwidth utilization, use the network power model. Gain additional power for network transmission; The power changes of the source node, the target node, and the additional power from network transmission are added together to obtain the IT-side power change during the migration phase.
[0053] in, Indicates candidate migration actions during the time period k The resulting change in total power on the IT side; This indicates the power variation of the source computing node; This represents the change in power of the target computation node; This represents the additional power consumed during network transmission. When the target node is located in an external collaborative computing resource pool of this data center, the power of the target node is not included in the input power of the local data center.
[0054] S204 calculates the UPS loss variation and the hysteresis power response of the cooling system.
[0055] UPS efficiency as a function of the protected IT load is expressed as follows:
[0056] in, Indicates the first k UPS operating efficiency during a given time period; Indicates the first k The IT load protected by the UPS during a specific time period; This represents the efficiency function determined by the UPS efficiency curve.
[0057] The change in UPS losses caused by task migration is expressed as:
[0058] in, This indicates the change in UPS loss caused by the candidate migration action; This represents the baseline IT load before the migration; Indicates the UPS efficiency before migration; This indicates the UPS efficiency after migration.
[0059] The hysteresis power response of a refrigeration system is expressed as:
[0060] in, Indicates the first k Power changes in the cooling system due to task migration during a specific time period; Indicates the first The cooling response coefficient for each lag period; L This indicates the maximum cooling hysteresis order.
[0061] S205, combined with power changes on the IT side, forms the input power response trajectory of the data center.
[0062]
[0063] in, Indicates candidate migration action In the k The net change in total input power of the local data center over a given time period. Further, this is formed as follows:
[0064] in, Indicates candidate migration action Input power response trajectory of a data center across multiple time periods; H This indicates the total number of time periods considered in this adjustment task.
[0065] S3. For the case of multiple tasks migrating simultaneously, constraints are constructed based on the current migration stage of each task. The constraints include resource constraints of source and target nodes, shared network and migration concurrency constraints, and power supply and distribution capacity constraints, forming a feasible domain for coupled migration of multiple task stages, and constructing a data center power response model driven by the migration stage state. S301, Construct decision variables for migration actions.
[0066] For the task i Candidate transfer actions Define migration action decision variables , For binary decision variables, when When indicates that the candidate migration action will be executed, This indicates that the candidate migration action will not be executed. The same task satisfies the following conditions within the same adjustment period:
[0067] in, This represents the set of candidate migration actions for task i.
[0068] S302, construct resource constraints for source and target nodes.
[0069] For the q-th type of resource of target node j, the following condition is met:
[0070] in, Represents a node j In the k The time period has been occupied by existing tasks. q Class resources; Represents a node j No. q The maximum available capacity of the resource class. For migration operations where the source node has not yet completed resource release, the corresponding resources are still counted as occupied by the source node.
[0071] S303, Building Shared Networks and Migration Concurrency Constraints.
[0072]
[0073]
[0074] in, Indicates candidate migration action In the k Shared links for each time period l Bandwidth usage; Indicates link l In the k The actual available bandwidth for each time period; Indicates an indicator function; The maximum number of concurrent migration tasks allowed; Indicates task i Perform candidate migration actions The start time of migration; Indicates task i Perform candidate migration actions The moment when the migration ends; S304, establish power supply and distribution capacity constraints.
[0075]
[0076]
[0077] in, Indicates the first r The base power of a rack, PDU, or power distribution unit; This indicates the power change caused by the candidate migration action to the power supply object; The maximum power allowed by the device; Indicates the UPS reference input power; This indicates the change in UPS input power caused by the candidate migration action; Indicates the maximum allowable input power of the UPS; S305 generates a feasible domain for coupled migration across multiple tasks.
[0078]
[0079] in, Indicates time t The corresponding multi-task stage coupled migration feasible region; Indicates the task deadline constraint; Indicates timing constraints during the migration phase; Indicates computational resource constraints; Indicates network bandwidth constraints; Indicates migration concurrency constraints; Indicates task dependency constraints; This indicates power supply and distribution capacity constraints. Any All of these refer to executable migration combinations that do not experience conflicts in tasks, resources, networks, or power supply throughout the entire migration process.
[0080] S4. Based on the data center operating status before the adjustment command is executed, a counterfactual baseline load is formed by matching from historical non-active migration operation segments. The multi-task stage coupled migration feasible domain is projected onto the data center input power space. A bidirectional load elastic boundary is generated by combining the input power response trajectory. S401, constructs a feature vector of the operating state before adjustment based on the IT power before adjustment, the cooling power before adjustment, the UPS load rate, the average GPU utilization, the current task load level, and the external ambient temperature;
[0081] in, Indicates time t The feature vector of the data center's operating status before the adjustment command is executed; Indicates the IT power before adjustment; Indicates the cooling power before adjustment; Indicates UPS load rate; This indicates the average GPU utilization. Indicates the current task load level; This indicates the external ambient temperature.
[0082] S402, based on the feature vector of the running state before adjustment, calculate the running state distance between the historical segment and the current moment:
[0083] in, Representing historical fragments h With the current moment t Distance between their operating states; Indicates the first r Matching weights for item running status features; Representing historical fragments h The r Item operating status characteristics; Indicates the current time's... r Item operating status characteristics; Indicates the first r The scale parameter of the feature.
[0084] Historical segments whose distance does not exceed the counterfactual sample matching threshold and which do not involve active task migration actions are selected as the counterfactual candidate sample set.
[0085] in, Indicates time t A set of counterfactual candidate historical fragments; Indicates the counterfactual sample matching threshold; Representing historical fragments h Does it involve active task migration? This indicates that there is no active task migration action.
[0086] S403, The measured data center input power for subsequent time periods is weighted according to the similarity weight of historical segments in the counterfactual candidate sample set to generate counterfactual baseline load;
[0087]
[0088] in, Representing historical fragments h Similarity weights; This represents the similarity decay scale parameter; Representing historical fragments h In the corresponding number k Measured data center input power for subsequent time periods; This indicates the situation where, under the current state, no new active task migration action is added. k The counterfactual baseline load of the data center for a subsequent period.
[0089] S404 calculates the load reduction boundary based on the counterfactual baseline load and input power response trajectory. and load increase boundary .
[0090]
[0091] in, Indicates the execution of migration combinations The later k Data center input power for each time period.
[0092] For time t Start and continue H The load reduction task for each time period has a maximum continuous load reduction boundary of:
[0093] in, Indicates the entire duration H The maximum load reduction can be guaranteed for each time period.
[0094] For load escalation tasks, the maximum continuous load escalation boundary is:
[0095] in, This indicates the maximum load increase that can be guaranteed to be achieved in each time period throughout the entire duration H.
[0096] S405, generates a two-way load elastic boundary:
[0097] in, This represents the theoretical bidirectional load elasticity boundary of the data center, starting from time t and lasting for H time periods. The system also saves the migration combination, task migration stage state sequence, and resource occupancy status at each stage corresponding to the acquisition of the boundary.
[0098] S5, after the adjustment command is executed, calculate the unfulfilled adjustment amount, correct the parameters of the data center power response model driven by the migration phase, and correct the bidirectional load elastic boundary.
[0099] S501, after the adjustment command is executed, the deviation between the planned response and the actual response is calculated to obtain the unfulfilled adjustment amount;
[0100]
[0101]
[0102] in, Indicated by scheduling time The first obtained as a benchmark The counterfactual baseline input power for each subsequent time period; This represents the expected input power of the data center calculated according to the planned migration scheme; This indicates the actual input power after the adjustment command is executed; Indicates the planned load reduction amount; This indicates the actual load reduction. This indicates the response deviation in the direction of load reduction.
[0103] S502, construct a counterfactual response sequence according to the order of item-by-item replacement of planned migration parameters and actual migration parameters; The data center power response model driven by the migration phase state is represented as:
[0104] Where R represents the adjustment response calculated based on the migration action state parameters; B represents the migration start time parameter; B represents the network status parameter. Indicates the resource status parameters of the target node; Represents the set of cooling response parameters; This represents the mapping function jointly determined by the state and power response relationship of the transition phase from S1 to S2.
[0105] Construct a counterfactual response sequence, which includes a first counterfactual adjustment response calculated with all planned parameters, a second counterfactual adjustment response that replaces only the actual migration start time, a third counterfactual adjustment response that further replaces the actual network bandwidth, a fourth counterfactual adjustment response that further replaces the actual target node resource status, and a fifth counterfactual adjustment response that further replaces the actual cooling response parameters.
[0106]
[0107]
[0108]
[0109]
[0110]
[0111] in, Indicates the planned migration start time; Indicates the actual migration start time; Indicates the planned network bandwidth status; Indicates the actual network bandwidth status; Indicates the resource status of the target node in the plan; Indicates the actual resource status of the target node; Indicates the planned cooling response parameters; Indicates the actual cooling response parameters; This indicates the first counterfactual adjustment response; This indicates a second counterfactual adjustment response; This indicates a third counterfactual adjustment response; This indicates the fourth counterfactual adjustment response; This indicates the fifth counterfactual adjustment response; S503, by subtracting each adjacent counterfactual adjustment response in the counterfactual response sequence, we obtain the response loss caused by migration start-up time deviation, the response loss caused by network state deviation, the response loss caused by target node resource state deviation, the response loss caused by cooling response deviation, and the response loss caused by other unmodeled factors:
[0112]
[0113]
[0114]
[0115]
[0116] in, This indicates the response loss caused by the migration start-up time deviation; This indicates the response loss caused by network state deviations; This indicates the response loss caused by the deviation in the resource status of the target node; This indicates the response loss caused by the refrigeration response deviation; This indicates the response loss caused by other unmodeled factors; This represents the actual measured regulation response.
[0117] Further summation yields the total response deviation:
[0118] S504, When a certain response loss exceeds a preset threshold, correct the parameters of the data center power response model driven by the migration phase state. when When the preset threshold is exceeded, adjust the duration parameters of the checkpoint generation phase, data synchronization phase, and target recovery phase; when Correct when the preset threshold is exceeded. and data synchronization time mapping parameters; when Correct when the preset threshold is exceeded. and ;when Correct when the preset threshold is exceeded. to This ensures that different sources of deviation correspond one-to-one with the parameters of the data center power response model driven by the migration phase state, which will be corrected in the next cycle.
[0119] S505 calculates the safety correction margin based on historical execution samples that match the current adjustment direction, migration task type, source and target resource pool, network bandwidth range, IT load rate, UPS load rate, and thermal status; and uses the safety correction margin to correct the bidirectional load elasticity boundary.
[0120]
[0121] in, Indicates the current status conditions of the adjustment task; Dir indicates the adjustment direction; Type indicates the migration task type; Indicates the source computing power resource pool. Indicates the target computing resource pool. and This constitutes the source and target resource pool; Indicates the network bandwidth range; Indicates IT load rate; Indicates UPS load rate; Indicates the current thermal state. Based on... Similar historical execution sample calculation:
[0122]
[0123] in, This represents the load reduction safety margin that matches the current state conditions at the confidence level α. This represents the load increase safety margin that matches the current state conditions at the confidence level α. The α quantile represents the distribution of the sample of unfulfilled conditional historical adjustment quantities. A sample of unrealized adjustments representing the historical direction of reduction; This represents a sample of unfulfilled adjustments in the historical direction of load increases.
[0124] Finally, the bidirectional load elastic boundary is modified to obtain the load elastic boundary that can be promised:
[0125]
[0126] in, This indicates the load reduction boundary that can be committed to; This indicates the permitted load increase boundary.
[0127] See Figure 2This invention discloses a data center computing power task tunability quantification evaluation system, including a task migration executable domain construction module, a migration phase power response construction module, a multi-task phase coupled feasible domain construction module, a counterfactual benchmark and elastic boundary calculation module, and an actual response counterfactual attribution and parameter write-back module. The task migration executable domain construction module is used to establish a task running state vector for data center tasks, construct candidate migration actions and migration phase state sequences, and sequentially calculate the duration of the entire migration process and task completion margin to generate the task migration executable domain. The migration phase power response construction module is used to calculate the IT power changes corresponding to different migration phases based on the task migration executable domain, and combine UPS operating efficiency and cooling / thermal inertia to form the data center's input power response trajectory. The multi-task phase coupled feasible domain construction module is used to calculate the IT power changes corresponding to multiple tasks at different migration phases. In the case of simultaneous migration of tasks, constraints are constructed based on the current migration stage of each task. These constraints include resource constraints for source and target nodes, shared network and migration concurrency constraints, and power supply and distribution capacity constraints, forming a multi-task stage coupled migration feasible region. This results in a data center power response model driven by the migration stage state. The counterfactual benchmark and elastic boundary calculation module is used to match and form a counterfactual benchmark load from historical non-active migration operation segments based on the data center operating state before the adjustment command is executed. The multi-task stage coupled migration feasible region is projected onto the data center input power space, and a bidirectional load elastic boundary is calculated by combining the input power response trajectory. The actual response counterfactual attribution and parameter write-back module is used to calculate the unfulfilled adjustment amount after the adjustment command is executed, correct the parameters of the data center power response model driven by the migration stage state, and correct the bidirectional load elastic boundary.
[0128] Example: This embodiment uses a large-scale intelligent computing data center participating in power grid peak shaving and renewable energy consumption regulation as an example. The data center is equipped with multiple GPU computing resource pools, a local general-purpose computing resource pool, two UPS systems, chillers, and terminal cooling equipment in the server room. It is connected to remote computing resource pools E1 and E2 via a high-speed network channel. The current time is 10:00 AM, and the power grid requires an assessment of the data center's bidirectional load regulation capability for 30 consecutive minutes starting at 10:00 AM. The regulation cycle is 15 minutes per period, therefore H=2. The system currently identifies five computing tasks T1, T2, T3, T4, and T5 with potential migration capabilities. T1, T2, and T3 are locally running tasks and can reduce the data center's input power by migrating them out or to a high-efficiency resource pool. T4 and T5 are currently located in a remote collaborative resource pool and can be migrated locally to increase the data center's computing load.
[0129] S1, Construct a task migration executable domain with migration phase timing constraints.
[0130] S101, Construct the task running state vector.
[0131] Taking T1 as an example. Currently, T1 is located on the local GPU node G1, with a deadline of 11:20. Pausing and resuming via checkpointing is allowed. The remaining computational workload is expected to be completed in 32 minutes on the target resource pool E1. T1 has 16GB of data to be synchronized, 2GB of checkpoint data, a minimum allowed network bandwidth of 0.6 Gb / s, and the current actual available network bandwidth from G1 to E1 is 0.8 Gb / s. Write the above information to... ,in This indicates that T1 allows active migration to be performed.
[0132] S102, construct the candidate migration action and migration stage state sequence for T1.
[0133] The migration of T1 from G1 to E1 at 10:00 is defined as a candidate migration action. Its transition phase state sequence is as follows:
[0134] In this embodiment, the checkpoint generation phase lasts for 1 minute; the data synchronization phase lasts for 3 minutes; the source and target dual-occupancy phase lasts for 1 minute; the target node recovery phase lasts for 1 minute; and after 6 minutes, it enters the stable operation phase after the source node completes resource release.
[0135] S103, calculate the total duration of the migration process.
[0136] The total amount of data to be synchronized and checkpoint data in T1 is 18 GB, or 144 Gb. Therefore:
[0137] in, This represents the data synchronization time required for T1 to migrate from G1 to E1. Further, the total migration duration for the selected migration action is obtained:
[0138] The 6 min time includes 1 min for checkpoint generation, 3 min for data synchronization, 1 min for source-target dual-occupancy time, and 1 min for target node recovery time.
[0139] S104, calculate the task completion margin.
[0140] From 10:00 to the T1 deadline of 11:20, there are 80 minutes. After the migration, the remaining task execution time for the target node E1 is estimated to be 32 minutes. Therefore:
[0141] in, This indicates the task completion margin after T1 executes the candidate migration action. Because... Therefore, T1 can still be completed before the deadline after being migrated to E1.
[0142] S105, Generate the migration executable domain.
[0143] Further checks revealed that the E1's current GPU, memory, and storage resources all meet the T1 requirements. The T1 precursor task has been completed, and the current 0.8 Gb / s network bandwidth exceeds the minimum 0.6 Gb / s migration requirement. Therefore... Using the same method to analyze T2 to T5, we find that: T1 can perform the G1→E1 migration; T2 can perform the G2→E1 migration; T3 can perform the G3→local high-efficiency resource pool G4 migration; T4 can perform the E2→G4 migration; and T5 can perform the E1→G4 migration.
[0144] S2 generates the input power response trajectory.
[0145] S201, determine the migration stage at each time point T1.
[0146] T1 began migration at 10:00. From 10:00 to 10:01, it was in the checkpoint generation phase. Data synchronization is in progress from 10:01 to 10:04. From 10:04 to 10:05, the source and target are in a dual-occupancy phase. From 10:05 to 10:06, the target recovery phase is underway. After 10:06, the system entered a stable operating phase following the release of the source node. .
[0147] S202, resource usage status during the computation phase.
[0148] During the checkpoint and synchronization phases, G1 maintains the primary GPU and memory resource usage of T1, with the network averaging 0.8 Gb / s during the synchronization phase; after entering the dual-occupancy phase, the source node's GPU resource usage coefficient... Set to 1.0, target node resource utilization coefficient. Taking 0.85, this means that while the source node has not yet released T1 resources, E1 has already established the target runtime environment and occupied the corresponding computing resources. After entering the target recovery phase, the source node's usage begins to decrease, and the target node's usage gradually reaches a stable operating level.
[0149] S203, calculate the power changes on the IT side during the migration phase.
[0150] Before the migration of T1, the task-related server input power on G1 was approximately 0.32 MW. During the checkpoint and data synchronization phases, due to the ongoing execution of GPU tasks and the added network transmission power consumption, the local data center input power changed only slightly; after the source node entered the release phase, the task-related power of G1 decreased significantly. Since E1 is located in a remote resource pool, the additional power of its target node is not included in the local data center input power. Time-weighted calculation of the first 15-minute adjustment period according to the duration of each migration phase yielded an average power change of approximately -0.19 MW on the IT side for T1.
[0151] S204 calculates the UPS loss variation and the hysteresis power response of the cooling system.
[0152] Based on the current UPS load rate and efficiency curves, the T1 migration further reduced UPS losses by approximately 0.01 MW in the first period; due to the lag in the cooling system after the IT heat load decreased, the cooling power only decreased by approximately 0.02 MW in the first period. During the second 15-minute period, the migration was completed, the source node remained in a released state, and the cooling system further reduced its power.
[0153] S205, Input power response trajectory of the migration action.
[0154] Taking into account changes in IT-side power, UPS losses, and the hysteresis power response of the cooling system, the change in data center input power for T1 during the first 15-minute period is as follows:
[0155] The data center input power change during the second 15-minute period is as follows:
[0156] therefore:
[0157] The negative sign indicates a reduction in the input power of the local data center. Using the same method, we obtain:
[0158]
[0159]
[0160]
[0161] Among them, T4 and T5 were moved from the off-site resource pool to the local area, thus forming a positive load increase power.
[0162] S3, construct the feasible domain for multi-task stage coupled migration.
[0163] S301, Construct decision variables for migration actions.
[0164] Establish separately , , , and This represents whether the candidate migration actions corresponding to T1, T2, T3, T4 and T5 are executed, and constrains each task to select at most one migration action within the current 30-minute adjustment period.
[0165] S302, verify the resource constraints of the source node and the target node.
[0166] The local target resource pool G4 currently has 8 units of GPU-equivalent resources remaining. Migrating into T4 requires 4 units, and migrating into T5 requires 2 units. When both tasks are in the dual-occupancy and recovery phase: 4 + 2 = 6 < 8 Therefore, T4 and T5 can be migrated into G4 at the same time, and G4's memory and storage resources also meet the requirements for joint migration.
[0167] S303, verify shared network and migration concurrency constraints.
[0168] The current available bandwidth of the cross-resource pool shared network is 1.2 Gb / s. The T1 synchronization phase requires 0.8 Gb / s, and the T3 synchronization phase requires 0.6 Gb / s. Therefore, if both tasks are simultaneously in the data synchronization phase:
[0169] Therefore, {T1, T3} cannot enter the synchronization phase simultaneously. When T1 and T2 synchronize simultaneously: 0.8 + 0.3 = 1.1 Gb / s < 1.2 Gb / s Therefore, T1 and T2 can migrate together. When T2 and T3 are synchronized simultaneously, the network requirement is 0.9 Gb / s, which also meets the bandwidth constraint.
[0170] S304, Verify the power supply and distribution capacity constraints.
[0171] The target rack power, PDU input power, and UPS input power after T4 and T5 are simultaneously moved into G4 are calculated. The results are all lower than the maximum allowable power of the corresponding equipment. Therefore, {T4,T5} meets the power supply and distribution capacity constraint.
[0172] S305 generates a feasible domain for coupled migration across multiple tasks.
[0173] Considering task time, migration phases, computing resources, network bandwidth, migration concurrency, task dependencies, and power supply constraints, feasible migration combinations for peak shaving include {T1}, {T2}, {T3}, {T1,T2}, and {T2,T3}. {T1,T3} and {T1,T2,T3} are excluded due to shared network bandwidth conflicts during the synchronization phase. In the load-increasing direction, {T4,T5} satisfies all phase coupling constraints and belongs to... .
[0174] S4, construct the counterfactual baseline load and calculate the bidirectional load elastic boundary.
[0175] S401, Construct the operating state before adjustment.
[0176] Before the 10:00 adjustment command is issued, the system extracts IT input power, cooling power, average GPU utilization, UPS load rate, task load level, and external temperature to form a complete data set. .
[0177] S402, Match historical segments without active migration actions.
[0178] First, exclude time windows where active task migration occurs from the historical operational database. Then, calculate the state distance based on current IT power, GPU utilization, UPS load rate, cooling power, task load, and external temperature. , retain satisfaction Historical fragments were used as counterfactual candidate samples.
[0179] S403 generates a counterfactual baseline load.
[0180] Similarity weights are calculated based on the state distance of each candidate historical segment. The data center counterfactual baseline input power is then weighted to obtain the power for the next two 15-minute time intervals if no new active task migration actions are added.
[0181]
[0182] S404 calculates the load reduction boundary and the load increase boundary.
[0183] For peak reduction directions, the power response of T1 shifting alone is [0.22, 0.36] MW, which can guarantee 0.22 MW for 30 consecutive minutes; T2 shifting alone is [0.18, 0.21] MW, which can guarantee 0.18 MW; T3 shifting alone is [0.12, 0.16] MW, which can guarantee 0.12 MW. When T1 and T2 shift together, the power response can be reduced in each time period as follows: First period: 0.22 + 0.18 = 0.40 MW Second period: 0.36 + 0.21 = 0.57 MW Therefore, the reduction capability that this combination can guarantee for a continuous 30-minute peak-shaving task is: min(0.40, 0.57) = 0.40 MW For peak shaving directions, each feasible migration combination generates a corresponding multi-time period power response. Specifically, the load reduction corresponding to the combined migration of T2 and T3 over a continuous 30 minutes is... Its continuous load reduction can be guaranteed to be 0.30 MW; the load reduction of the combined migration of T1 and T2 is not less than 0.40 MW in each time period within a continuous 30 minutes, therefore, according to the maximum-minimum criterion:
[0184] in, This represents the maximum theoretical load reduction boundary that can be guaranteed for 30 consecutive minutes starting from 10:00, corresponding to the migration combination {T1,T2}. For the load increase direction, during the joint migration in T4 and T5, the load increases are 0.34 MW and 0.41 MW respectively in the two time periods, and the target GPU resources, rack power, and UPS capacity do not exceed the limits. Therefore:
[0185] in, This indicates the maximum theoretical load increase boundary that can be guaranteed to be achieved for 30 consecutive minutes starting from 10:00.
[0186] S405 generates a bidirectional load elastic boundary.
[0187]
[0188] Therefore, under the current conditions, the theoretical maximum load reduction capacity of the data center for 30 consecutive minutes is 400 kW, and the theoretical maximum load increase capacity is 340 kW.
[0189] S5 performs rolling correction on the elastic boundary of the bidirectional load.
[0190] S501, calculate the unfulfilled adjustment amount.
[0191] The plan was to reduce 0.40 MW and 0.57 MW in two 15-minute time periods, respectively. Actual monitoring showed reductions of 0.35 MW and 0.50 MW in the same time periods. Therefore:
[0192]
[0193] in, and These represent the unrealized adjustment amounts for the two adjustment periods, respectively.
[0194] S502, Construct the counterfactual response sequence for the second time period.
[0195] For the second time period, we first use all the planned parameters to obtain:
[0196] Simply replacing the planned migration start time with the actual migration start time yields:
[0197] Further replacing the planned network bandwidth with the actual network bandwidth yields:
[0198] After further replacing the planned target node resource status with the actual target node resource status, we get:
[0199] Further replacing the planned cooling response parameters with the actual cooling response parameters yields:
[0200] The actual adjustment response in the second time period was:
[0201] S503, calculate the response loss for different sources of deviation.
[0202]
[0203]
[0204]
[0205]
[0206]
[0207] in, This indicates the response loss caused by the migration start-up time deviation; This indicates the response loss caused by network state deviations; This indicates the response loss caused by the deviation in the resource status of the target node; This indicates the response loss caused by the refrigeration response deviation; This represents the response loss caused by the remaining unmodeled factors; the total response bias is: 0.020+0.018+0.012+0.015+0.005=0.070 MW Total unfulfilled adjustment amount in the second period Consistent.
[0208] S504, corrects the parameters of the state-driven data center power response model during the migration phase.
[0209] according to The duration of checkpoint generation, data synchronization, and recovery phases will be adjusted to reflect the actual migration delay; based on Recalibrate the available bandwidth and synchronization time mappings corresponding to T1 and T2; according to Correct the dual-occupancy and recovery phases. and ;according to Corrected using the actual cooling power curve to .
[0210] S505 modifies the bidirectional load elastic boundary to obtain a commensurable load elastic boundary.
[0211] The system is configured according to the current peak shaving direction, cross-resource pool migration mode, bandwidth range of 0.6 to 1.0 Gb / s, current GPU utilization, UPS load rate, and thermal status. Execution samples with similar state conditions were filtered from the historical database. At a 95% confidence level, the following results were obtained: M 10:00 30min {-,95%} =0.06 MW M 10:00 30min {+,95%} =0.04 MW Therefore, the reduction boundary can be committed to: - =0.40-0.06=0.34 MW The load capacity limit that can be committed to is: =0.34-0.04=0.30 MW The final result is: 10:00 30min = [0.34, 0.30] MW Under the current task status, network conditions, computing resource status, UPS operating point, and cooling / heating status, the data center can commit to reducing 340 kW or increasing 300 kW of load for 30 consecutive minutes on the power grid. If the remaining computing workload, network bandwidth, GPU resource availability, or thermal status changes in the next rolling cycle, S1 to S4 will be re-executed; if new actual adjustment execution data is generated, the counterfactual bias attribution and migration phase state-driven data center power response model parameters will be rewritten in S5.
[0212] In one embodiment of the present invention, a computer device is provided, comprising a processor and a memory. The memory stores a computer program, which includes program instructions. The processor executes the program instructions stored in the computer storage medium. The processor may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing and control core of the terminal, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions from the computer storage medium to achieve a corresponding method flow or corresponding function. The processor described in this embodiment of the present invention can be used in the operation of a method for quantifying the adjustability of data center computing power tasks.
[0213] This invention also provides a storage medium, specifically a computer-readable storage medium, which is a memory device in a computer device used to store programs and data. It is understood that the computer-readable storage medium here can include both the built-in storage medium in the computer device and extended storage media supported by the computer device. The computer-readable storage medium provides storage space that stores the terminal's operating system. Furthermore, this storage space also stores one or more instructions suitable for loading and execution by a processor. These instructions can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be high-speed RAM (Random Access Memory) or non-volatile memory, such as at least one disk storage device. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the adjustable quantitative evaluation method for a data center computing power task in the above embodiments.
[0214] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0215] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0216] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0217] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0218] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for quantitatively evaluating the adjustability of data center computing power tasks, characterized in that, Includes the following steps: For tasks in the data center, establish task execution state vectors, construct candidate migration actions and migration stage state sequences; calculate the duration of the entire migration process and task completion margin in sequence, and then generate the task migration executable domain; Based on the task migration executable domain, the IT power change corresponding to different migration stages of the task is calculated, and the input power response trajectory of the data center is formed by combining UPS working efficiency and cooling thermal inertia. For the case of multiple tasks migrating simultaneously, constraints are constructed based on the current migration stage of each task. These constraints include resource constraints of source and target nodes, shared network and migration concurrency constraints, and power supply and distribution capacity constraints, forming a feasible domain for coupled migration of multiple task stages. This leads to the construction of a data center power response model driven by the migration stage state. Based on the data center's operating status before the adjustment command is executed, a counterfactual baseline load is formed by matching historical non-active migration operation segments. The multi-task stage coupled migration feasible domain is projected onto the data center's input power space, and a bidirectional load elastic boundary is generated by combining the input power response trajectory. After the adjustment command is executed, the unfulfilled adjustment amount is calculated, the parameters of the data center power response model driven by the migration phase are corrected, and the bidirectional load elastic boundary is corrected.
2. The method for quantitatively evaluating the adjustability of data center computing power tasks according to claim 1, characterized in that, The task execution state vector is established for the data center tasks, and candidate migration actions and migration stage state sequences are constructed. The steps involved in calculating the entire migration process duration and task completion margin, and then generating the task migration executable domain, include: For the task i Construct a task running state vector; the task running state vector includes a unique task identifier, the current source computing node, the latest completion time of the task, the remaining computing workload, the computing resource requirement vector, the amount of data to be synchronized during migration, the amount of data at task checkpoints, task dependencies, and the task interruptibility attribute. Define candidate migration actions for the task migration from the source node to the candidate target node; establish a migration phase state sequence for the candidate migration actions; Calculate the total migration process duration; the total migration process duration is determined based on the sum of the checkpoint generation time, data synchronization time, the duration of dual resource occupancy between the source and target nodes, and the time required for the target node to resume operation; Calculate the task completion margin after migration based on the duration of the entire migration process; After the task completion margin meets the requirements, further verification is performed on the target node's computing resources, actual network bandwidth, task dependencies, and task interruptibility attributes to form a task. i The task migration executable domain.
3. The method for quantitatively evaluating the adjustability of data center computing power tasks according to claim 1, characterized in that, The steps of calculating the IT power changes corresponding to different migration stages of a task based on the task migration executable domain, and forming the input power response trajectory of the data center by combining UPS operating efficiency and cooling thermal inertia, specifically include: Define state variables for the transition phase, for the first... q For each type of computing resource, the resource usage of the source node, the resource usage of the target node, and the network bandwidth usage are calculated separately according to the migration stage. Based on the resource occupancy of the source node and the resource occupancy of the target node, the power changes of the source node and the target node are calculated using a server power model; based on the network bandwidth occupancy, the additional power for network transmission is obtained using a network power model; the power changes of the source node, the power changes of the target node, and the additional power for network transmission are added together to obtain the power changes on the IT side during the migration phase. The changes in UPS losses and the hysteresis power response of the cooling system caused by task migration are calculated separately. Combined with the power changes on the IT side, the input power response trajectory of the data center is formed.
4. The method for quantitatively evaluating the adjustability of data center computing power tasks according to claim 1, characterized in that, The expressions for the resource constraints of the source node and the target node are as follows: in, Represents a node j In the k The time period has been occupied by existing tasks. q Class resources; Represents a node j No. q Maximum available capacity of the resource class; Indicates candidate migration action In the k The target node in the [time period] q The amount of resources used; For the purpose of the task i Candidate transfer actions Defined migration action decision variables; Indicates task i The set of candidate migration actions; The expressions for the shared network and migration concurrency constraints are as follows: in, Indicates candidate migration action In the k Shared links for each time period l Bandwidth usage; Indicates link l In the k The actual available bandwidth for each time period; Indicates an indicator function; The maximum number of concurrent migration tasks allowed; Indicates task i Perform candidate migration actions The start time of migration; Indicates task i Perform candidate migration actions The moment when the migration ends; The expression for the power supply and distribution capacity constraint is: in, Indicates the first r The base power of a rack, PDU, or power distribution unit; This indicates the power change caused by the candidate migration action to the power supply object; The maximum power allowed by the device; Indicates the UPS reference input power; This indicates the change in UPS input power caused by the candidate migration action; Indicates the maximum allowable input power of the UPS; The expression for the feasible region of coupled migration in the multi-task phase is: in, Indicates time t The corresponding multi-task stage coupled migration feasible region; Indicates the task deadline constraint; Indicates timing constraints during the migration phase; Indicates computational resource constraints; Indicates network bandwidth constraints; Indicates migration concurrency constraints; Indicates task dependency constraints; This indicates power supply and distribution capacity constraints; This indicates a migration combination.
5. The method for quantitatively evaluating the adjustability of data center computing power tasks according to claim 1, characterized in that, The steps of matching counterfactual baseline loads from historical non-active migration operation segments based on the data center operating status before the adjustment command is executed, projecting the multi-task stage coupled migration feasible region onto the data center input power space, and calculating and generating bidirectional load elastic boundaries based on the input power response trajectory specifically include: Construct a feature vector of the operating state before adjustment based on the IT power before adjustment, the cooling power before adjustment, the UPS load rate, the average GPU utilization, the current task load level, and the external ambient temperature; Based on the feature vector of the running state before adjustment, the running state distance between the historical segment and the current moment is calculated; historical segments whose distance does not exceed the counterfactual sample matching threshold and do not have active task migration actions are selected as the counterfactual candidate sample set. The measured data center input power for subsequent time periods is weighted according to the similarity weight of historical segments in the counterfactual candidate sample set to generate the counterfactual baseline load; Calculate the load reduction boundary based on the counterfactual baseline load and input power response trajectory. and load increase boundary This generates a bidirectional load elastic boundary. .
6. The method for quantitatively evaluating the adjustability of data center computing power tasks according to claim 1, characterized in that, After the adjustment command is executed, the steps of calculating the unfulfilled adjustment amount, correcting the parameters of the data center power response model driven by the migration phase state, and correcting the bidirectional load elastic boundary specifically include: After the adjustment command is executed, the deviation between the planned response and the actual response is calculated to obtain the unfulfilled adjustment amount; Construct a counterfactual response sequence by replacing each of the planned and actual migration parameters one by one. The response loss caused by migration start-up time deviation, network state deviation, target node resource state deviation, cooling response deviation, and other unmodeled factors are obtained by subtracting each adjacent counterfactual adjustment response in the counterfactual response sequence. When a certain response loss exceeds a preset threshold, the parameters of the data center power response model driven by the migration phase are corrected; a safety correction margin is calculated based on historical execution samples that match the current adjustment direction, migration task type, source target resource pool, network bandwidth range, IT load rate, UPS load rate, and thermal state; and the safety correction margin is used to correct the bidirectional load elasticity boundary.
7. The method for quantitatively evaluating the adjustability of data center computing power tasks according to claim 6, characterized in that, The counterfactual response sequence includes a first counterfactual adjustment response calculated with all planned parameters, a second counterfactual adjustment response that only replaces the actual migration start time, a third counterfactual adjustment response that further replaces the actual network bandwidth, a fourth counterfactual adjustment response that further replaces the actual target node resource status, and a fifth counterfactual adjustment response that further replaces the actual cooling response parameters.
8. A quantitative evaluation system for the adjustability of data center computing power tasks, characterized in that, A method for quantitatively evaluating the adjustability of data center computing power tasks according to any one of claims 1 to 7 includes: The task migration executable domain construction module is used to establish task running state vectors for tasks in the data center, construct candidate migration actions and migration stage state sequences; calculate the duration of the entire migration process and the task completion margin in sequence, and then generate the task migration executable domain. The power response building module for the migration phase is used to calculate the IT power changes corresponding to different migration phases of a task based on the task migration executable domain, and to form the input power response trajectory of the data center by combining UPS operating efficiency and cooling thermal inertia. The multi-task stage coupled feasible domain construction module is used to construct constraints based on the current migration stage of each task when multiple tasks migrate simultaneously. The constraints include resource constraints of source and target nodes, shared network and migration concurrency constraints, and power supply and distribution capacity constraints, forming a multi-task stage coupled migration feasible domain, and constructing a data center power response model driven by the migration stage state. The counterfactual baseline and elastic boundary calculation module is used to match and form a counterfactual baseline load from historical non-active migration operation segments based on the data center's operating status before the adjustment command is executed, project the multi-task stage coupled migration feasible domain onto the data center input power space, and calculate and generate a bidirectional load elastic boundary in combination with the input power response trajectory. The actual response counterfactual attribution and parameter write-back module is used to calculate the unfulfilled adjustment amount after the adjustment command is executed, correct the parameters of the data center power response model driven by the migration phase, and correct the bidirectional load elastic boundary.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the adjustable quantitative evaluation method for data center computing power tasks as described in any one of claims 1-7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the adjustable quantitative evaluation method for data center computing power tasks as described in any one of claims 1-7.
