A method for local process migration of cross-node parallel computing tasks

Through containerized deployment and container runtime migration module, local process migration of cross-node parallel computing tasks is realized, which solves the problems of high system overhead and task interruption during computing task migration in the existing technology, and achieves efficient resource utilization and flexible scheduling. scene.

CN118055023BActive Publication Date: 2024-10-11COMP NETWORK INFORMATION CENT CHINESE ACADEMY OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410186002.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-20
Publication Date
2024-10-11
Estimated Expiration
2044-02-20

AI Technical Summary

Technical Problem

In the existing technology, the migration of computing tasks requires the migration of all processes, resulting in high system overhead and interruption of computing tasks, which reduces execution efficiency and experience.

Method used

The cross-node parallel computing task local process migration method is adopted, and the containerized deployment and container runtime migration module are used to realize the cross-node migration of a single container, keeping the overall uninterrupted operation of the computing task, and using the container virtual network and CRIU checkpoint technology to save and Restore container state.

Benefits of technology

It reduces storage and checkpoint overhead, supports more flexible fault tolerance, load balancing and elastic scheduling scenarios, and improves the execution efficiency and user experience of computing tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118055023B_ABST
    Figure CN118055023B_ABST
Patent Text Reader

Abstract

The present invention provides a method for migrating local processes of cross-node parallel computing tasks, comprising the following steps: step 1, configuration process of the startup configuration script of the computing task; step 2, containerized deployment process of the computing task; step 3, migration process during container runtime. The present invention implements containerized deployment of MPI parallel computing tasks and cross-node migration of a single container. Compared with the migration of all processes, the local process migration is achieved through a single container, which introduces less storage overhead and checkpoint overhead. At the same time, the overall computing task can be kept running without interruption, and more flexibly supports scenarios such as fault tolerance, load balancing, and elastic scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of process migration, and in particular relates to a method for migrating local processes of cross-node parallel computing tasks. Background Art

[0002] At present, scheduling in the field of high-performance computing is mostly based on static resource allocation. A certain amount of resources is requested before the computing task is run, and the number of resources seen during the operation cannot be changed. Due to the different resource requirements of different workloads, a certain degree of resource idleness is caused. Computing task migration can help achieve flexible resource scheduling and make more effective and full use of computing resources.

[0003] In the prior art, when a computing task is migrated, all processes of the computing task need to be migrated. Not only is the system overhead high during the migration, but also the entire computing task needs to be interrupted when the computing task is migrated, reducing the execution efficiency and experience of the computing task. Summary of the invention

[0004] In view of the defects in the prior art, the present invention provides a method for migrating local processes of cross-node parallel computing tasks, which can effectively solve the above problems.

[0005] The technical solution adopted by the present invention is as follows:

[0006] The present invention provides a method for migrating local processes of cross-node parallel computing tasks, comprising the following steps:

[0007] Step 1: Configuration process of the startup configuration script for computing tasks:

[0008] Configure the startup configuration script information of the computing task, including the computing node list, container image, the number of processes corresponding to a single container, and the total number of processes N required for the computing task to run in parallel;

[0009] Step 2: Compute task container deployment process:

[0010] Step 2.1, obtaining the gateway address and network address interval of the container network; constructing a container virtual network according to the gateway address and the network address interval;

[0011] Step 2.2, start the startup configuration script of the computing task, and obtain the total number of containers m required according to the number of processes corresponding to a single container and the total number of processes N required for the computing task to run in parallel;

[0012] Based on the container image, create m containers; select m computing nodes required to execute this computing task from the computing node list, deploy a container to each selected computing node, and allocate a corresponding number of processes to the container;

[0013] Step 2.3, initializing each created container, assigning a container network address belonging to the network address interval, making the m containers network nodes of the container virtual network, having a network topology structure, and based on the container virtual network, the m containers can communicate with each other;

[0014] Step 2.4, mount the input and output file paths of each computing node to the corresponding container, start each container, and run the processes of each computing node in parallel in the corresponding container, converting the inter-process communication into the communication between containers based on the container virtual network, thereby realizing the parallel operation of computing tasks across nodes;

[0015] Step 3, container runtime migration process:

[0016] Step 3.1, when the container runtime migration module monitors the container migration signal, saves the complete runtime state of the migrated container; selects a target computing node, and transmits the complete runtime state of the migrated container to the target computing node;

[0017] Step 3.2, initialize and create a new container on the target computing node, configure the container network address of the new container to be the same as the container network address of the migrated container, and configure the complete runtime state of the migrated container to the new container, so that the container state of the new container is exactly the same as that of the migrated container, thereby restoring the new container to the runtime state of the migrated container and running the new container.

[0018] Preferably, after step 2.4, the method further comprises:

[0019] Step 2.5, computing task running status monitoring process:

[0020] When the containers of each computing node are running in parallel, the running status of each container is monitored in real time, and the status of the process running in each container is monitored in real time.

[0021] Preferably, after step 2.4, the method further comprises:

[0022] Step 2.6, computing resource monitoring process:

[0023] When the containers of each computing node run in parallel, the node status of each computing node is monitored.

[0024] Preferably, after step 2.4, the method further comprises:

[0025] Step 2.7, log collection process:

[0026] When the containers of each computing node run in parallel, the running logs of each container are collected, including container input information and container output information.

[0027] Preferably, in step 3.1, when the container runtime migration module monitors the container migration instruction, it saves the complete runtime state of the migrated container, selects a target computing node, and transmits the complete runtime state of the migrated container to the target computing node, specifically:

[0028] Step 3.1.1, predefine the checkpoint generation strategy of the container;

[0029] Step 3.1.2, when the container runtime migration module listens to the container migration instruction, it generates the status checkpoint information of each container according to the predefined checkpoint generation strategy, including: container runtime status, memory status, network status and file system status, thereby forming the complete state of the container runtime and saving it to the persistent storage;

[0030] Step 3.1.3, the container runtime migration module transmits the complete runtime state of the migrated container in the persistent storage to the target computing node.

[0031] Preferably, after step 3.2, the method further includes:

[0032] Step 3.3, Migration Verification Process:

[0033] After completing the container migration, verify that the new container on the target compute node is running normally.

[0034] The present invention also provides a system for local process migration of cross-node parallel computing tasks, including: a configuration file, a computing task container deployment module and a container runtime migration module;

[0035] The configuration file is a startup configuration script for the computing task, including a list of computing nodes, container images, the number of processes corresponding to a single container, and the total number of processes N required for the computing task to run in parallel;

[0036] The computing task container deployment module includes:

[0037] A container virtual network construction submodule is used to obtain a gateway address and a network address interval of a container network; and construct a container virtual network according to the gateway address and the network address interval;

[0038] The container resource allocation submodule is used to obtain the total number of containers m required according to the number of processes corresponding to a single container and the total number of processes N required for the computing task to run in parallel; create m containers based on the container image; select the m computing nodes required to execute this computing task from the computing node list, deploy a container to each selected computing node, and allocate a corresponding number of processes to the container;

[0039] The container initialization submodule is used to initialize the container deployed on each computing node, allocate the container network address belonging to the network address interval, make the m containers become the network nodes of the container virtual network, have a network topology structure, and the m containers can communicate with each other based on the container virtual network; mount the input and output file paths of each computing node to the corresponding container, start each container, and the process of each computing node runs in parallel in the corresponding container, convert the inter-process communication into the communication between containers based on the container virtual network, thereby realizing the parallel operation of computing tasks across nodes;

[0040] The container runtime migration module includes:

[0041] A migration signal receiving submodule, used for receiving a container migration signal;

[0042] The checkpoint strategy execution submodule is used to predefine the checkpoint generation strategy of the container; according to the predefined checkpoint generation strategy, the status checkpoint information of each container is generated, including: container runtime status, memory status, network status and file system status, thereby forming the complete runtime status of the container;

[0043] A runtime state saving submodule, used to save the complete runtime state of the container obtained by the checkpoint strategy execution submodule;

[0044] A migration data transmission submodule, used to select a target computing node and transmit the complete runtime state of the migrated container to the target computing node;

[0045] A runtime state recovery submodule is used to initialize, create and start a new container on the target computing node, configure the container network address of the new container to be the same as the container network address of the migrated container, and configure the complete runtime state of the migrated container to the new container, so that the container state of the new container is exactly the same as that of the migrated container, thereby restoring the new container to the runtime state of the migrated container and running the new container;

[0046] The migration verification submodule is used to verify whether the new container on the target computing node runs normally after the container migration is completed.

[0047] Preferably, the computing task container deployment module further includes:

[0048] The computing task running status monitoring submodule is used to monitor the running status of each container in real time when the containers of each computing node are running in parallel, and to monitor the status of the process running in each container in real time;

[0049] The computing resource monitoring submodule is used to monitor the node status of each computing node when the containers of each computing node are running in parallel;

[0050] The log collection submodule is used to collect the operation logs of each container when the containers of each computing node are running in parallel, including container input information and container output information.

[0051] The method for migrating local processes of cross-node parallel computing tasks provided by the present invention has the following advantages:

[0052] The present invention realizes containerized deployment of MPI parallel computing tasks and cross-node migration of a single container. Compared with the migration of all processes, the local process migration is realized through a single container, which introduces smaller storage overhead and checkpoint overhead. At the same time, the overall computing task can be kept running uninterrupted, and fault tolerance, load balancing, elastic scheduling and other scenarios can be supported more flexibly. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 The overall structural diagram of the local process migration of the cross-node parallel computing task provided by the present invention;

[0054] Figure 2 A flowchart of the containerized deployment process of computing tasks provided by the present invention;

[0055] Figure 3 A flowchart of the container runtime migration process provided by the present invention. DETAILED DESCRIPTION

[0056] In order to make the technical problems, technical solutions and beneficial effects solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0057] The present invention provides a method for local process migration of cross-node parallel computing tasks, realizes containerized deployment of MPI parallel computing tasks and cross-node migration of a single container. Compared with the migration of all processes, the local process migration is realized by a single container, which introduces less storage overhead and checkpoint overhead, and can keep the overall computing task running uninterrupted, and more flexibly support fault tolerance, load balancing, elastic scheduling and other scenarios. The present invention uses container technology to realize local process migration of computing tasks at the system level, which is compatible with existing programs without reprogramming or compiling.

[0058] The specific advantages are as follows:

[0059] (1) The MPI parallel computing tasks are assigned to multiple computing nodes. A container is created for each computing node, and multiple processes corresponding to the computing node are executed in the container. Therefore, the cross-node operation and migration of parallel computing tasks are realized in containers, and the implementation process is simple.

[0060] (2) The present invention directly uses containers as units to implement cross-node migration of local processes running in containers, so the introduced storage overhead and checkpoint overhead are smaller.

[0061] (3) In the present invention, when various containers run in parallel across nodes, when a container needs to be migrated, it is only necessary to terminate the container and resume execution after the container is migrated. The containers of other computing nodes and the processes running in the containers are not affected. Therefore, the overall computing task is kept running uninterrupted, and fault tolerance, load balancing, elastic scheduling and other scenarios are supported more flexibly.

[0062] (4) The method for migrating local processes of cross-node parallel computing tasks provided by the present invention only needs to configure the startup configuration script of the computing task. According to the startup configuration script of the computing task, the containerized deployment of the computing task and the migration process of the container at runtime can be automatically completed, with high execution efficiency and simple user use.

[0063] (5) To achieve container migration, it is necessary to maintain the integrity of the runtime code software stack before and after the container migration, and the program network status remains unchanged. Therefore, the present invention adopts the technical solution of container + container network + CRIU checkpoint. Based on the container to maintain the integrity of the program code software stack during the migration process, a virtualized network address is constructed through the container network to support the unchanged communication address before and after the container migration. With the help of the CRIU checkpoint tool, the container running status is saved and the network status is maintained. The implementation process is simple.

[0064] The present invention provides a method for migrating local processes of cross-node parallel computing tasks, referring to Figures 1 to 3 , including the following steps:

[0065] Step 1: Configuration process of the startup configuration script for computing tasks:

[0066] Configure the startup configuration script information of the computing task, including the computing node list, container image, the number of processes corresponding to a single container, and the total number of processes N required for the computing task to run in parallel;

[0067] The software stack of the container image includes OpenSSH, OpenMPI or other versions of the MPI runtime environment, compiled MPI parallel computing programs, and is set to start the SSHD program for ordinary users as the image startup script.

[0068] The startup configuration script of the computing task is a YAML format file, which can further include: defining the job type, configuring the input and output file paths; and dividing the computing node list into a working computing node list and a migratable computing node list. The job type supports MPI, the working computing node list is used to deploy computing tasks, and the migratable computing node list is used to select the target computing node during migration.

[0069] Step 2: Compute task container deployment process:

[0070] The process of containerized deployment of computing tasks can be summarized as follows: configure the container network address according to the startup configuration script of the computing task, allocate computing resources to the container and initialize the container. If the SSH key communication method is used, complete the configuration of the SSH key pair between containers to enable communication between containers. Finally, start the container and enable computing task running status monitoring, computing resource monitoring and log collection. The specific process is as follows:

[0071] Step 2.1, obtaining the gateway address and network address interval of the container network; constructing a container virtual network according to the gateway address and the network address interval;

[0072] Step 2.2, start the startup configuration script of the computing task, and obtain the total number of containers m required according to the number of processes corresponding to a single container and the total number of processes N required for the computing task to run in parallel;

[0073] Based on the container image, create m containers; select m computing nodes required to execute this computing task from the computing node list, deploy a container to each selected computing node, and allocate a corresponding number of processes to the container;

[0074] Step 2.3, initializing each created container, assigning a container network address belonging to the network address interval, making the m containers network nodes of the container virtual network, having a network topology structure, and based on the container virtual network, the m containers can communicate with each other;

[0075] Step 2.4, mount the input and output file paths of each computing node to the corresponding container, start each container, and run the processes of each computing node in parallel in the corresponding container, converting the inter-process communication into the communication between containers based on the container virtual network, thereby realizing the parallel operation of computing tasks across nodes;

[0076] After step 2.4, it also includes:

[0077] Step 2.5, computing task running status monitoring process:

[0078] When the containers of each computing node are running in parallel, the running status of each container is monitored in real time, and the status of the process running in each container is monitored in real time.

[0079] Step 2.6, computing resource monitoring process:

[0080] When the containers of each computing node run in parallel, the node status of each computing node is monitored.

[0081] Step 2.7, log collection process:

[0082] When the containers of each computing node run in parallel, the running logs of each container are collected, including container input information and container output information.

[0083] Step 3, container runtime migration process:

[0084] The container runtime migration process can be summarized as follows: After the computing task is containerized and deployed, the migration signal reception is started. Once the migration instruction is received, the complete runtime state of the migrated container is obtained, the target computing node is selected, the migration data is transferred, a new container is initialized on the target computing node according to the configuration of the migrated container, and then the runtime state of the new container is restored, and finally the correctness of the migration is verified. The specific process is as follows:

[0085] Step 3.1, when the container runtime migration module monitors the container migration signal, saves the complete runtime state of the migrated container; selects a target computing node, and transmits the complete runtime state of the migrated container to the target computing node;

[0086] In step 3.1, when the container runtime migration module monitors the container migration instruction, it saves the complete runtime state of the migrated container, selects a target computing node, and transmits the complete runtime state of the migrated container to the target computing node, specifically:

[0087] Step 3.1.1, predefine the checkpoint generation strategy of the container;

[0088] Step 3.1.2, when the container runtime migration module listens to the container migration instruction, it generates the status checkpoint information of each container according to the predefined checkpoint generation strategy, including: container runtime status, memory status, network status and file system status, thereby forming the complete state of the container runtime and saving it to the persistent storage;

[0089] Step 3.1.3, the container runtime migration module transmits the complete runtime state of the migrated container in the persistent storage to the target computing node.

[0090] Step 3.2, initialize and create a new container on the target computing node, configure the container network address of the new container to be the same as the container network address of the migrated container, and configure the complete runtime state of the migrated container to the new container, so that the container state of the new container is exactly the same as that of the migrated container, thereby restoring the new container to the runtime state of the migrated container and running the new container.

[0091] Step 3.3, Migration Verification Process:

[0092] After completing the container migration, verify that the new container on the target compute node is running normally.

[0093] The following is an embodiment of a method for migrating local processes of cross-node parallel computing tasks:

[0094] Part 1: Containerized deployment of computing tasks

[0095] Step 1: Generate the macvlan container virtual network topology according to the startup configuration script of the computing task, including the limited network address range, default gateway address and other information.

[0096] Step 2: Select several computing nodes required to perform this computing task from the computing node list;

[0097] Step 3: According to the startup configuration script of the computing task and the macvlan container virtual network topology, a corresponding container is started on each selected computing node. The container is initially an empty container. The basic information of the container is configured, including: configuring the network address, host name, SSH private key pair, container name of the container, and mounting the input and output file paths of the computing node to the container;

[0098] Start each container, and the processes of each computing node run in parallel in the corresponding container, converting the inter-process communication into inter-container communication based on the container virtual network, thereby realizing the parallel operation of computing tasks across nodes;

[0099] Step 4: Monitor the status of each container through computing task running status monitoring, and monitor related computing resources and container logs.

[0100] Part 2: Container Runtime Migration Process

[0101] Step 1: Receive container migration signal

[0102] Step 2: Execute the checkpoint strategy

[0103] Step 3: Call the checkpoint tool to obtain the complete runtime status of the migrated container, including the MPI temporary files generated during the container operation, the network address and host name of the container, etc.

[0104] Step 4: Select the best target computing node based on the status of each computing node being maintained, and transfer the complete runtime status of the migrated container to the target computing node.

[0105] Step 5: Initialize an empty container on the target computing node, configure the same network address and host name as the migrated container, copy the MPI temporary file to the target path, and then call the checkpoint tool to implement checkpoint recovery.

[0106] Step 6: Check whether all containers and processes in containers are running normally through computing task running status monitoring to verify whether the migration is successful.

[0107] The present invention also provides a system for migrating local processes of cross-node parallel computing tasks, see Figure 1 , including: configuration files, computing task containerized deployment module and container runtime migration module; the computing task containerized deployment module and container runtime migration module work together to realize the smooth operation and life cycle management of computing tasks in the cluster.

[0108] The configuration file is a startup configuration script for the computing task, including a list of computing nodes, container images, the number of processes corresponding to a single container, and the total number of processes N required for the computing task to run in parallel;

[0109] See also Figure 2 The computing task containerized deployment module is the basic support module of the system, which is responsible for the containerized deployment and startup of cross-node computing tasks, including: container virtual network construction submodule, container resource allocation submodule, container initialization submodule, computing task running status monitoring submodule, computing resource monitoring submodule and log collection submodule.

[0110] The container virtual network construction submodule is used to obtain the gateway address and network address interval of the container network; based on the gateway address and the network address interval, a container virtual network is constructed; specifically, according to the actual needs of computing tasks across nodes, a set of virtual network topologies is generated, and at the same time, it is necessary to avoid overlapping with the container virtual network topologies generated by other computing tasks in the cluster. In the present invention, for each complete computing task to be processed, a corresponding container virtual network topology is constructed, and based on the container virtual network topology, containers with the same number of computing nodes are generated. When the computing task is executed, the container and the container virtual network are destroyed to release resources.

[0111] The container resource allocation submodule is used to obtain the total number of containers m required according to the number of processes corresponding to a single container and the total number of processes N required for the computing task to run in parallel; create m containers based on the container image; select the m computing nodes required to execute this computing task from the computing node list, deploy a container to each selected computing node, and allocate a corresponding number of processes to the container;

[0112] The container initialization submodule is used to initialize the containers deployed on each computing node, allocate container network addresses belonging to the network address interval, make the m containers become network nodes of the container virtual network, have a network topology structure, and based on the container virtual network, the m containers can communicate with each other; when initializing the container, the configuration of the basic information of the container can also be completed at the same time, for example, configuring the host name, SSH private key pair, container name, etc.

[0113] Mount the input and output file paths of each computing node to the corresponding container, start each container, and run the processes of each computing node in parallel in the corresponding container. Transform the inter-process communication into inter-container communication based on the container virtual network, thereby realizing the parallel operation of computing tasks across nodes.

[0114] The computing task running status monitoring submodule is used to monitor the running status of each container in real time when the containers of each computing node are running in parallel, and to monitor the status of the process running in each container in real time;

[0115] The computing resource monitoring submodule is used to monitor the node status of each computing node when the containers of each computing node are running in parallel. One of its functions is to determine the target computing node according to the node status of each monitored computing node during subsequent container migration.

[0116] The log collection submodule is used to collect the operation logs of each container when the containers of each computing node are running in parallel, including container input information and container output information, for example, the log of the MPI program starting the container.

[0117] See also Figure 3 The container runtime migration module is responsible for implementing runtime migration based on containers, migrating containers from one computing node to another, and includes: a migration signal receiving submodule, a checkpoint strategy execution submodule, a runtime state saving submodule, a migration data transmission submodule, a runtime state recovery submodule, and a migration verification submodule.

[0118] The migration signal receiving submodule is used to receive container migration signals, such as migration request signals sent by administrators or system monitoring programs. By monitoring specific signals or events, container migration signals are generated to trigger the migration process when the container is running.

[0119] The checkpoint strategy execution submodule is used to predefine the checkpoint generation strategy of the container; according to the predefined checkpoint generation strategy, the status checkpoint information of each container is generated regularly or according to demand, including: container runtime status, memory status, network status and file system status, thereby forming the complete runtime status of the container; the status checkpoint information of each container is used to perform container status recovery after container migration.

[0120] The runtime state saving submodule is used to save the complete runtime state of the container obtained by the checkpoint strategy execution submodule; for example, the complete runtime state of the container is saved in a persistent storage.

[0121] The migration data transmission submodule is used to select a target computing node according to the maintained status of each computing node, and transmit the complete runtime status of the migrated container to the target computing node; specifically, the best computing node can be selected as the target computing node based on factors such as resource utilization, network latency and availability of each computing node.

[0122] The runtime state recovery submodule is used to restore the runtime state of the migrated container on the target computing node, including: container runtime state, memory state, network state, and file system state;

[0123] Specifically, a new container is created and started on the target computing node, the new container is initially an empty container, a container network address of the new container is configured to be the same as the container network address of the migrated container, and the complete runtime state of the migrated container is configured to the new container, so that the container state of the new container is exactly the same as that of the migrated container, thereby restoring the new container to the runtime state of the migrated container, and running the new container;

[0124] The migration verification submodule is used to verify whether the new container on the target computing node runs normally after the container migration is completed.

[0125] Compared with the prior art, the present invention has the following beneficial effects:

[0126] 1) The present invention places cross-node parallel computing processes into containers respectively, and performs runtime migration of local processes based on container technology without interrupting the operation of the overall parallel computing task.

[0127] 2) The present invention only migrates local processes of cross-node parallel computing tasks. Compared with the migration of all process states, the amount of migration data is significantly reduced, which can effectively reduce the time overhead of migration. At the same time, the migration time can overlap with the calculation time of other processes, and the calculation of some communication characteristics will not increase the overall time overhead of the computing task.

[0128] 3) The present invention performs container migration of computing tasks based on system-level checkpoint technology, and parallel computing tasks do not need to be rewritten or compiled; and container-based operation hardly introduces performance overhead.

[0129] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be considered as the scope of protection of the present invention.

Claims

1. A method for migrating local processes of cross-node parallel computing tasks, characterized in that: The following steps are involved: Step 1: Configuration process of the startup configuration script for computing tasks: Configure the startup configuration script information of the computing task, including the computing node list, container image, the number of processes corresponding to a single container, and the total number of processes N required for the computing task to run in parallel; Step 2: Compute task container deployment process: Step 2.1, obtain the gateway address and network address range of the container network; Constructing a container virtual network according to the gateway address and the network address interval; Step 2.2, start the startup configuration script of the computing task, and obtain the total number of containers m required according to the number of processes corresponding to a single container and the total number of processes N required for the computing task to run in parallel; Based on the container image, create m containers; Select m computing nodes required to execute the current computing task from the computing node list, deploy a container to each selected computing node, and allocate a corresponding number of processes to the container; Step 2.3, initializing each created container, assigning a container network address belonging to the network address interval, making the m containers network nodes of the container virtual network, having a network topology structure, and based on the container virtual network, the m containers can communicate with each other; Step 2.4, mount the input and output file paths of each computing node to the corresponding container, start each container, and run the processes of each computing node in parallel in the corresponding container, converting the inter-process communication into the communication between containers based on the container virtual network, thereby realizing the parallel operation of computing tasks across nodes; Step 3, container runtime migration process: Step 3.1, when the container runtime migration module monitors the container migration signal, it saves the complete runtime state of the migrated container; Select a target computing node, and transmit the complete runtime state of the migrated container to the target computing node; In step 3.1, when the container runtime migration module monitors the container migration instruction, it saves the complete runtime state of the migrated container, selects a target computing node, and transmits the complete runtime state of the migrated container to the target computing node, specifically: Step 3.1.1, predefine the checkpoint generation strategy of the container; Step 3.1.2, when the container runtime migration module listens to the container migration instruction, it generates the status checkpoint information of each container according to the predefined checkpoint generation strategy, including: container runtime status, memory status, network status and file system status, thereby forming the complete state of the container runtime and saving it to the persistent storage; Step 3.1.3, the container runtime migration module transmits the complete runtime state of the migrated container in the persistent storage to the target computing node; Step 3.2, initialize and create a new container on the target computing node, configure the container network address of the new container to be the same as the container network address of the migrated container, and configure the complete runtime state of the migrated container to the new container, so that the container state of the new container is exactly the same as that of the migrated container, thereby restoring the new container to the runtime state of the migrated container and running the new container.

2. A method for migrating local processes of cross-node parallel computing tasks according to claim 1, characterized in that: After step 2.4, it also includes: Step 2.5, computing task running status monitoring process: When the containers of each computing node are running in parallel, the running status of each container is monitored in real time, and the status of the process running in each container is monitored in real time.

3. The method for migrating local processes of cross-node parallel computing tasks according to claim 1, characterized in that: After step 2.4, it also includes: Step 2.6, computing resource monitoring process: When the containers of each computing node run in parallel, the node status of each computing node is monitored.

4. The method for migrating local processes of cross-node parallel computing tasks according to claim 1, characterized in that: After step 2.4, it also includes: Step 2.7, log collection process: When the containers of each computing node run in parallel, the running logs of each container are collected, including container input information and container output information.

5. The method for migrating local processes of cross-node parallel computing tasks according to claim 1, characterized in that: After step 3.2, it also includes: Step 3.3, Migration Verification Process: After completing the container migration, verify that the new container on the target compute node is running normally.

6. A system for migrating local processes of cross-node parallel computing tasks, characterized in that: include: Configuration files, computing task containerized deployment module, and container runtime migration module; The configuration file is a startup configuration script for the computing task, including a list of computing nodes, container images, the number of processes corresponding to a single container, and the total number of processes N required for the computing task to run in parallel; The computing task container deployment module includes: A container virtual network construction submodule is used to obtain a gateway address and a network address interval of a container network; and construct a container virtual network according to the gateway address and the network address interval; The container resource allocation submodule is used to obtain the total number of containers m required according to the number of processes corresponding to a single container and the total number of processes N required for the computing task to run in parallel; create m containers based on the container image; select the m computing nodes required to execute this computing task from the computing node list, deploy a container to each selected computing node, and allocate a corresponding number of processes to the container; The container initialization submodule is used to initialize the container deployed on each computing node, allocate the container network address belonging to the network address interval, make the m containers become the network nodes of the container virtual network, have a network topology structure, and the m containers can communicate with each other based on the container virtual network; mount the input and output file paths of each computing node to the corresponding container, start each container, and the process of each computing node runs in parallel in the corresponding container, convert the inter-process communication into the communication between containers based on the container virtual network, thereby realizing the parallel operation of computing tasks across nodes; The container runtime migration module includes: A migration signal receiving submodule, used for receiving a container migration signal; The checkpoint strategy execution submodule is used to predefine the checkpoint generation strategy of the container; according to the predefined checkpoint generation strategy, the status checkpoint information of each container is generated, including: container runtime status, memory status, network status and file system status, thereby forming the complete runtime status of the container; A runtime state saving submodule, used to save the complete runtime state of the container obtained by the checkpoint strategy execution submodule; A migration data transmission submodule, used to select a target computing node and transmit the complete runtime state of the migrated container to the target computing node; A runtime state recovery submodule is used to initialize, create and start a new container on the target computing node, configure the container network address of the new container to be the same as the container network address of the migrated container, and configure the complete runtime state of the migrated container to the new container, so that the container state of the new container is exactly the same as that of the migrated container, thereby restoring the new container to the runtime state of the migrated container and running the new container; The migration verification submodule is used to verify whether the new container on the target computing node runs normally after the container migration is completed.

7. A system for local process migration of cross-node parallel computing tasks according to claim 6, characterized in that: The computing task container deployment module also includes: The computing task running status monitoring submodule is used to monitor the running status of each container in real time when the containers of each computing node are running in parallel, and to monitor the status of the process running in each container in real time; The computing resource monitoring submodule is used to monitor the node status of each computing node when the containers of each computing node are running in parallel; The log collection submodule is used to collect the operation logs of each container when the containers of each computing node are running in parallel, including container input information and container output information.