Efficient high-throughput calculation task scheduling method

Through a comprehensive analysis of the characteristics and resource status of high-throughput computing tasks, a scheduling method that comprehensively considers multiple strategies solves the problems of low resource utilization and long execution time of traditional scheduling algorithms in high-throughput environments, and achieves task execution Improved efficiency and resource utilization.

CN118656181APending Publication Date: 2024-09-17NANJING INFORMATION HIGH-SPEED RAILWAY RES INST OF SCI AND TECH +1
View PDF 0 Cites 27 Cited by

Patent Information

Application Number
CN202311571609.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-11-21
Filing Date
2023-11-23
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Traditional task scheduling algorithms have low resource utilization and long task execution times in high-throughput computing environments, and cannot meet complex and high-scale computing needs.

Method used

Through a comprehensive analysis and evaluation of computing task characteristics and system resource conditions, a multi-strategy approach is adopted to formulate task scheduling strategies, including task complexity assessment, dependency modeling, load balancing, priority scheduling and resource-aware scheduling, in real-time Monitor and dynamically adjust to optimize task allocation and execution sequence.

Benefits of technology

It improves the execution efficiency and resource utilization of computing tasks, reduces task waiting time, and ensures smooth operation and efficient performance of the system under different loads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656181A
    Figure CN118656181A
Patent Text Reader

Abstract

The invention provides an efficient high-throughput calculation task scheduling method, which is based on comprehensive analysis and evaluation of task characteristics and system resource conditions, adopts a multi-strategy comprehensive consideration mode to realize task scheduling, and comprises the following steps of: 1, analyzing calculation task characteristics; comprising task calculation complexity, execution time and dependency; step 2, monitoring and evaluating system resources, including calculating load conditions, network bandwidth and storage capacity of nodes; step 3, formulating a calculation task scheduling strategy, formulating the task scheduling strategy based on task characteristics and system resource conditions, and determining an execution sequence and a distribution mode of tasks; 4, real-time monitoring and dynamic adjustment are carried out, and dynamic adjustment and optimization are carried out according to actual conditions; according to the algorithm, the tasks can be reasonably allocated according to the characteristics of the calculation tasks and the conditions of system resources, and the calculation efficiency and the resource utilization rate are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer program algorithms, and in particular to an efficient high-throughput computing task scheduling method. Background Art

[0002] With the popularization of computers, the application scenarios of different functions have greatly increased the complexity and scale of computer computing tasks, making task scheduling in high-throughput computing environments more and more challenging; however, traditional task scheduling algorithms face problems such as low resource utilization and long task execution time, and can no longer meet the needs of high-throughput computing; for this reason, the applicant has designed an efficient high-throughput computing task scheduling method based on the needs of computing tasks to solve these problems; the algorithm can reasonably allocate tasks according to the characteristics of computing tasks and the status of system resources, thereby improving computing efficiency and resource utilization. Summary of the invention

[0003] To solve the above technical problems, the present invention proposes an efficient high-throughput computing task scheduling method, which realizes task scheduling by adopting a multi-strategy comprehensive consideration method based on a comprehensive analysis and evaluation of task characteristics and system resource status, and its steps include: step one, analyzing the computing task characteristics, including the computational complexity, execution time and dependencies of the task; step two, monitoring and evaluating the system resources, including the load of the computing nodes, network bandwidth and storage capacity; step three, formulating the computing task scheduling strategy, formulating the task scheduling strategy based on the task characteristics and system resource status, and determining the execution order and allocation method of the tasks; step four, real-time monitoring and dynamic adjustment, and performing dynamic adjustment and optimization according to actual conditions; the algorithm can reasonably allocate tasks according to the characteristics of the computing tasks and the status of system resources, and improve computing efficiency and resource utilization.

[0004] To achieve the above object, the technical solution adopted by the present invention is:

[0005] An efficient high-throughput computing task scheduling method, the efficient high-throughput computing task scheduling algorithm is based on a comprehensive analysis and evaluation of task characteristics and system resource conditions, and adopts a multi-strategy comprehensive consideration approach to achieve task scheduling, the steps of which include:

[0006] Step 1: Analyze the characteristics of computing tasks. The analysis of computing task characteristics includes the computational complexity, execution time and dependencies of the tasks. Through algorithm complexity analysis, time complexity and space complexity evaluation, we can fully understand the computing characteristics and resource utilization of the tasks. Then dependency modeling becomes another core task of this stage, and formulas and mathematical models related to task scheduling are introduced for analysis.

[0007] Step 2: Monitor and evaluate system resources; monitor the load of computing nodes, network bandwidth, and storage capacity; evaluate load balancing, network bandwidth, and storage capacity to ensure effective use of system resources and high efficiency of task execution, and then optimize task scheduling strategies;

[0008] Step 3: Formulate the calculation task scheduling strategy: Based on the task characteristics and system resource status, formulate the task scheduling strategy. First, determine the execution order and allocation method of the tasks, and then establish the priority scheduling strategy and resource-aware scheduling strategy. By combining the two scheduling strategies, the priority of the tasks and the effective use of system resources are balanced.

[0009] Step 4: Real-time monitoring and dynamic adjustment, dynamic adjustment and optimization according to actual conditions; real-time monitoring and dynamic adjustment are key steps in the task scheduling strategy to ensure that tasks can adapt efficiently and flexibly in the ever-changing system environment; such a comprehensive real-time monitoring and dynamic adjustment method enables the system to adapt to the changing workload more intelligently and improve task execution efficiency and overall performance.

[0010] Furthermore, the specific steps of step 1 in the efficient high-throughput computing task scheduling algorithm are:

[0011] Step 1: Perform computational complexity evaluation; through algorithm complexity analysis, time complexity (T(n)) and space complexity (S(n)) evaluation, we can fully understand the computational characteristics and resource utilization of the task. Specifically, time complexity is used to measure the growth of the time required for algorithm execution, usually expressed in big O notation, that is, T(n) = O(f(n)), where f(n) is a function of the input size n; space complexity is used to evaluate the additional space required by the algorithm during operation, also expressed in big O notation;

[0012] Step 2: Dependency modeling becomes another core task in this phase. The core mission of the task scheduling component is to execute tasks according to the established execution plan. For complex tasks, multiple tasks form a task group, and there are dependencies between them. The condition for the execution of a task must be that its predecessor task has been successfully executed or there is no predecessor task.

[0013] Step 3: Introduce formulas and mathematical models related to task scheduling for analysis; in the dependency modeling stage, task dependency analysis clearly presents the interdependencies between tasks by establishing a dependency graph; the assessment of parallel execution risks helps prevent problems that may be caused by task dependencies and ensure the stability of parallel execution; maintaining the dependency graph ensures real-time updating of task dependencies during the execution of the scheduling algorithm to ensure the accuracy and real-time nature of scheduling decisions.

[0014] Furthermore, the specific steps of step 2 in the efficient high-throughput computing task scheduling algorithm are:

[0015] Step 1: Monitor the load of computing nodes in real time; the system can fully understand the workload of each node, including CPU usage, memory usage, and disk I / O;

[0016] Step 2: Load balancing. The goal of load balancing is to avoid overloading a certain node in the system. By allocating tasks to nodes with relatively low loads, we can ensure that system resources are evenly utilized and improve overall performance.

[0017] Step 3: Evaluate network bandwidth and storage capacity. Network bandwidth and storage capacity evaluation are key factors in the overall process. Network bandwidth evaluation helps to understand available network resources.

[0018] Step 4: Optimize the task scheduling strategy. Optimizing the task scheduling strategy can prevent the task from being affected by the network bottleneck during data transmission. At the same time, the evaluation of the system storage capacity helps prevent the task from failing due to insufficient storage and optimizes the use of storage resources, ensuring the intelligent scheduling of tasks, so that the burden of each node participating in the calculation is relatively balanced, avoiding resource waste and potential performance bottlenecks. In a high-throughput computing environment, the work at this stage plays a vital role in improving computing efficiency, reducing task waiting time, and ensuring balanced system performance. By carefully monitoring and evaluating system resources, the system can respond to different loads and task requirements more intelligently and achieve efficient execution of tasks. In the load balancing algorithm used, the minimum load priority and weighted minimum load priority can be expressed by formulas. The minimum load priority algorithm assumes that Li represents the current load of the i-th computing node and N represents the total number of computing nodes. Indicates that the computing node with the lightest current load is selected as the target of task allocation; while weighted minimum load priority assumes that Li represents the current load of the i-th computing node, represents the weight of the i-th computing node, and N represents the total number of computing nodes; This formula indicates that the computing node with the smallest ratio of current load to node weight is selected as the target of task allocation; both formulas involve node load information, where minimum load priority simply selects the node with the lightest current load, while weighted minimum load priority takes into account the node weight to more flexibly adapt to uneven node performance; in practical applications, the choice of load balancing algorithm depends on the specific needs of the system and the characteristics of the nodes.

[0019] Furthermore, the specific steps of step three in the efficient high-throughput computing task scheduling algorithm are:

[0020] Step 1: Determine the execution order and allocation method of tasks; After determining the execution order and allocation method of tasks, the task scheduling strategy optimizes system performance and improves task execution efficiency;

[0021] Step 2: Establish a priority scheduling strategy. In terms of priority scheduling, tasks are assigned different priorities according to their characteristics to ensure that high-priority tasks can be executed earlier. This is achieved by establishing a task queue and sorting them by priority, selecting the highest-priority task for execution. The dynamic adjustment mechanism flexibly adjusts the priority of tasks according to the task execution status and system resource status to prevent starvation problems.

[0022] Step 3: Establish a resource-aware scheduling strategy. Resource-aware scheduling focuses on real-time monitoring and evaluation of system resources. By classifying system resources, identifying bottlenecks and sufficient resources, task scheduling selects the most suitable computing nodes based on this information. This strategy avoids resource bottlenecks and overloads, and ensures full utilization of available resources while avoiding resource waste by dynamically adjusting to different loads and working environments.

[0023] Step 4: By combining the priority scheduling strategy and the resource-aware scheduling strategy, the priority of the task and the effective use of system resources are balanced; by comprehensively considering the task characteristics and system resource conditions, such a task scheduling scheme helps to improve the overall system performance, reduce the task waiting time, and ensure the smooth operation of the system under different workloads.

[0024] Furthermore, the specific steps of step 4 in the efficient high-throughput computing task scheduling algorithm are:

[0025] Step 1: Monitor with system resource monitoring tools. Use system resource monitoring tools such as sar, vmstat, top, etc. to track the load of computing nodes, CPU usage, memory usage, disk I / O, etc. in real time to form a real-time snapshot of system resources.

[0026] Step 2: Use network monitoring tools to monitor network bandwidth usage between computing nodes in real time, analyze data traffic, and identify potential bottlenecks or high-load areas.

[0027] Step 3: Storage capacity monitoring: For storage capacity monitoring, use storage monitoring tools such as df and du to monitor the storage capacity and usage of computing nodes in real time, and promptly warn and handle storage shortages;

[0028] Step 4: Dynamic adjustment. Dynamic adjustment uses an adaptive algorithm and feedback control system. The adaptive algorithm dynamically adjusts the task scheduling strategy based on the real-time monitored system resource status, considers changes in system resource status, and adjusts the execution order, allocation method or priority of tasks.

[0029] Step 5: Call the fitness function. The fitness function is used to measure the performance of an individual in the problem space. Usually, the fitness function is designed based on the specific situation of the problem, including the goal and constraints of the problem. Suppose there are multiple objective functions f1(x), f2(x), ..., f n (x) The fitness function can be defined as a linear combination of these objective functions;

[0030] Fitness(x)=w1·f1(x)+w2·f2(x)+……+w n ·f n (x)

[0031] where w1, w2, ..., w n is a weight coefficient used to adjust the relative importance of each objective function. In genetic algorithms, selection uses a genetic algorithm to select individuals for crossover and mutation according to the fitness function; a common selection method is roulette wheel selection, in which the probability of an individual being selected is proportional to its fitness; the selection probability P i It can be obtained by the individual fitness f i It can be calculated, it can be calculated, N is the individual power in the population;

[0032]

[0033] Step 6: Feedback the control system threshold and control rules; adjust the task execution strategy according to the real-time status of the system and the task execution status to ensure that the system remains in a stable working state; in addition, a load balancing algorithm is used to ensure that tasks are evenly distributed on the computing nodes, and the task allocation is dynamically adjusted according to the real-time monitored load conditions to achieve load balancing; by dynamically adjusting the priority of tasks, the system ensures that high-priority tasks can be executed earlier at critical moments; and introduces a real-time response mechanism. According to the real-time monitoring data, the system can respond to changes in system resources in a timely manner, adjust the task execution plan, and use event-driven or timed polling to achieve rapid response to system status.

[0034] The present invention provides an efficient high-throughput computing task scheduling method, which realizes task scheduling by adopting a multi-strategy comprehensive consideration method based on comprehensive analysis and evaluation of task characteristics and system resource status, and the steps include: step 1, analyzing computing task characteristics, including task computational complexity, execution time and dependency; step 2, monitoring and evaluating system resources, including computing node load, network bandwidth and storage capacity; step 3, formulating computing task scheduling strategies, formulating task scheduling strategies based on task characteristics and system resource status, and determining the execution order and allocation method of tasks; step 4, real-time monitoring and dynamic adjustment, and dynamic adjustment and optimization according to actual conditions; the benefits brought are:

[0035] 1. Efficient high-throughput computing task scheduling algorithm can improve the execution efficiency of computing tasks. It can reasonably allocate tasks according to the characteristics of tasks and resource conditions, reduce task waiting time and execution time, and improve computing efficiency;

[0036] 2. Efficient high-throughput computing task scheduling algorithm can improve the utilization rate of system resources. According to the actual situation of system resources, various factors can be comprehensively considered to optimize the task allocation method and improve the utilization rate of system resources;

[0037] 3. The efficient high-throughput computing task scheduling algorithm can adapt to different computing environments. The algorithm has certain intelligence and flexibility, and can be adjusted and optimized according to different computing environments to adapt to different application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a schematic diagram of the process arrival and priority of the present invention. DETAILED DESCRIPTION

[0039] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments:

[0040] like Figure 1 As shown, the efficient high-throughput computing task scheduling algorithm is based on a comprehensive analysis and evaluation of task characteristics and system resource status, and adopts a multi-strategy comprehensive consideration approach to achieve task scheduling, and its steps include:

[0041] Step 1: Analyze the characteristics of computing tasks. The analysis of computing task characteristics includes the computational complexity, execution time and dependencies of the tasks. Through algorithm complexity analysis, time complexity and space complexity evaluation, we can fully understand the computing characteristics and resource utilization of the tasks. Then dependency modeling becomes another core task of this stage, and formulas and mathematical models related to task scheduling are introduced for analysis.

[0042] Step 2: Monitor and evaluate system resources; monitor the load of computing nodes, network bandwidth, and storage capacity; evaluate load balancing, network bandwidth, and storage capacity to ensure effective use of system resources and high efficiency of task execution, and then optimize task scheduling strategies;

[0043] Step 3: Formulate the calculation task scheduling strategy: Based on the task characteristics and system resource status, formulate the task scheduling strategy. First, determine the execution order and allocation method of the tasks, and then establish the priority scheduling strategy and resource-aware scheduling strategy. By combining the two scheduling strategies, the priority of the tasks and the effective use of system resources are balanced.

[0044] Step 4: Real-time monitoring and dynamic adjustment, dynamic adjustment and optimization according to actual conditions; real-time monitoring and dynamic adjustment are key steps in the task scheduling strategy to ensure that tasks can adapt efficiently and flexibly in the ever-changing system environment; such a comprehensive real-time monitoring and dynamic adjustment method enables the system to adapt to the changing workload more intelligently and improve task execution efficiency and overall performance.

[0045] The specific steps of step 1 in the efficient high-throughput computing task scheduling algorithm are:

[0046] Step 1: Perform computational complexity evaluation; through algorithm complexity analysis, time complexity (T(n)) and space complexity (S(n)) evaluation, we can fully understand the computational characteristics and resource utilization of the task. Specifically, time complexity is used to measure the growth of the time required for algorithm execution, usually expressed in big O notation, that is, T(n) = O(f(n)), where f(n) is a function of the input size n; space complexity is used to evaluate the additional space required by the algorithm during operation, also expressed in big O notation;

[0047] Step 2: Dependency modeling becomes another core task of this stage. The core mission of the task scheduling component is to execute tasks according to the established execution plan. For complex tasks, multiple tasks form a task group, and there are dependencies between them. The condition for the execution of a task must be that its predecessor task has been successfully executed or there is no predecessor task. This task relationship graph is a "directed acyclic graph" (DAG), which is a data structure composed of a series of vertices and edges connecting the vertices. It is divided into directed graphs and undirected graphs. The edges of directed graphs are directed, that is, the edge A->B and B->A are two different edges, while in undirected graphs, A->B and B->A share an edge. Based on this data structure, a task can be represented by a vertex of the graph, and the edge of the graph represents the dependency relationship between tasks, ensuring that the relationship between tasks is fully considered during the scheduling process, and effectively preventing dependency errors that may occur in parallel execution.

[0048] Step 3: Introduce formulas and mathematical models related to task scheduling for analysis; for example, consider the objective function of task scheduling, such as minimizing task completion time or maximizing system resource utilization; these objective functions can be formalized as mathematical optimization problems, and introduce corresponding constraints, such as dependencies between tasks; this may involve mathematical modeling methods such as linear programming and integer programming; f(x) represents the objective function, g(x)≤0 represents the constraint, and the optimization problem of task scheduling can be expressed as:

[0049] Minimizee(x)

[0050] Subject to g(x)≤0

[0051] x represents decision variables such as the execution order of tasks or resource allocation scheme;

[0052] In the dependency modeling stage, task dependency analysis clearly presents the interdependencies between tasks by establishing a dependency graph; the assessment of parallel execution risks helps prevent problems that may be caused by task dependencies and ensure the stability of parallel execution; maintaining the dependency graph ensures the real-time update of task dependencies during the execution of the scheduling algorithm to ensure the accuracy and real-time performance of scheduling decisions.

[0053] The specific steps of step 2 in the efficient high-throughput computing task scheduling algorithm are:

[0054] Step 1: Monitor the load of computing nodes in real time; the system can fully understand the workload of each node, including CPU usage, memory usage, and disk I / O;

[0055] Step 2: Load balancing. The goal of load balancing is to avoid overloading a certain node in the system. By allocating tasks to nodes with relatively low loads, we can ensure that system resources are evenly utilized and improve overall performance.

[0056] Step 3: Evaluate network bandwidth and storage capacity. Network bandwidth and storage capacity evaluation are key factors in the overall process. Network bandwidth evaluation helps to understand available network resources.

[0057] Step 4: Optimize the task scheduling strategy. Optimizing the task scheduling strategy can prevent the task from being affected by the network bottleneck during data transmission. At the same time, the evaluation of the system storage capacity helps prevent the task from failing due to insufficient storage and optimizes the use of storage resources, ensuring the intelligent scheduling of tasks, so that the burden of each node participating in the calculation is relatively balanced, avoiding resource waste and potential performance bottlenecks. In a high-throughput computing environment, the work at this stage plays a vital role in improving computing efficiency, reducing task waiting time, and ensuring balanced system performance. By carefully monitoring and evaluating system resources, the system can respond to different loads and task requirements more intelligently and achieve efficient execution of tasks. In the load balancing algorithm used, the minimum load priority and weighted minimum load priority can be expressed by formulas. The minimum load priority algorithm assumes that Li represents the current load of the i-th computing node and N represents the total number of computing nodes. Indicates that the computing node with the lightest current load is selected as the target of task allocation; while weighted minimum load priority assumes that Li represents the current load of the i-th computing node, represents the weight of the i-th computing node, and N represents the total number of computing nodes; This formula indicates that the computing node with the smallest ratio of current load to node weight is selected as the target of task allocation; both formulas involve node load information, where minimum load priority simply selects the node with the lightest current load, while weighted minimum load priority takes into account the node weight to more flexibly adapt to uneven node performance; in practical applications, the choice of load balancing algorithm depends on the specific needs of the system and the characteristics of the nodes.

[0058] The specific steps of step 3 in the efficient high-throughput computing task scheduling algorithm are:

[0059] Step 1: Determine the execution order and allocation method of tasks; After determining the execution order and allocation method of tasks, the task scheduling strategy optimizes system performance and improves task execution efficiency;

[0060] Step 2: Establish a priority scheduling strategy. In terms of priority scheduling, tasks are assigned different priorities according to their characteristics to ensure that high-priority tasks can be executed earlier. This is achieved by establishing a task queue and sorting them by priority, selecting the highest-priority task for execution. The dynamic adjustment mechanism flexibly adjusts the priority of tasks according to the task execution status and system resource status to prevent starvation problems.

[0061] Step 3: Establish a resource-aware scheduling strategy. Resource-aware scheduling focuses on real-time monitoring and evaluation of system resources. By classifying system resources, identifying bottlenecks and sufficient resources, task scheduling selects the most suitable computing nodes based on this information. This strategy avoids resource bottlenecks and overloads, and ensures full utilization of available resources while avoiding resource waste by dynamically adjusting to different loads and working environments.

[0062] Step 4: By combining the priority scheduling strategy and the resource-aware scheduling strategy, the priority of the task and the effective use of system resources are balanced; by comprehensively considering the task characteristics and system resource conditions, such a task scheduling scheme helps to improve the overall system performance, reduce the task waiting time, and ensure the smooth operation of the system under different workloads.

[0063] The specific steps of step 4 in the efficient high-throughput computing task scheduling algorithm are:

[0064] Step 1: Monitor with system resource monitoring tools. Use system resource monitoring tools such as sar, vmstat, top, etc. to track the load of computing nodes, CPU usage, memory usage, disk I / O, etc. in real time to form a real-time snapshot of system resources.

[0065] Step 2: Use network monitoring tools to monitor network bandwidth usage between computing nodes in real time, analyze data traffic, and identify potential bottlenecks or high-load areas.

[0066] Step 3: Storage capacity monitoring: For storage capacity monitoring, use storage monitoring tools such as df and du to monitor the storage capacity and usage of computing nodes in real time, and promptly warn and handle storage shortages;

[0067] Step 4: Dynamic adjustment. Dynamic adjustment uses an adaptive algorithm and feedback control system. The adaptive algorithm dynamically adjusts the task scheduling strategy based on the real-time monitored system resource status, considers changes in system resource status, and adjusts the execution order, allocation method or priority of tasks.

[0068] Step 5: Call the fitness function. The fitness function is used to measure the performance of an individual in the problem space. Usually, the fitness function is designed based on the specific situation of the problem, including the goal and constraints of the problem. Suppose there are multiple objective functions f1(x), f2(x), ..., f n (x) The fitness function can be defined as a linear combination of these objective functions;

[0069] Fitness(x)=w1·f1(x)+w2·f2(x)+……+w n ·fn (x)

[0070] where w1, w2, ..., w n is a weight coefficient used to adjust the relative importance of each objective function. In genetic algorithms, selection uses a genetic algorithm to select individuals for crossover and mutation according to the fitness function; a common selection method is roulette wheel selection, in which the probability of an individual being selected is proportional to its fitness; the selection probability P i It can be obtained by the individual fitness f i It can be calculated, it can be calculated, N is the individual power in the population;

[0071]

[0072] Step 6: Feedback the control system threshold and control rules; adjust the task execution strategy according to the real-time status of the system and the task execution status to ensure that the system remains in a stable working state; in addition, a load balancing algorithm is used to ensure that tasks are evenly distributed on the computing nodes, and the task allocation is dynamically adjusted according to the real-time monitored load conditions to achieve load balancing; by dynamically adjusting the priority of tasks, the system ensures that high-priority tasks can be executed earlier at critical moments; and introduces a real-time response mechanism. According to the real-time monitoring data, the system can respond to changes in system resources in a timely manner, adjust the task execution plan, and use event-driven or timed polling to achieve rapid response to system status.

[0073] The above description is only a preferred embodiment of the present invention and does not constitute any other form of limitation to the present invention. Any modification or equivalent change made based on the technical essence of the present invention still falls within the scope of protection required by the present invention.

Claims

1. An efficient high-throughput computing task scheduling method, the efficient high-throughput computing task scheduling algorithm is based on a comprehensive analysis and evaluation of task characteristics and system resource conditions, and adopts a multi-strategy comprehensive consideration approach to achieve task scheduling, and the steps include: Step 1: Analyze the characteristics of the computing task; the analysis of the characteristics of the computing task includes the computational complexity, execution time and dependencies of the task; Through algorithm complexity analysis, time complexity and space complexity evaluation, we can fully understand the computing characteristics and resource utilization of the task. Then dependency modeling becomes another core task of this stage, and formulas and mathematical models related to task scheduling are introduced for analysis. Step 2: Monitor and evaluate system resources; monitor the load of computing nodes, network bandwidth, and storage capacity; evaluate load balancing, network bandwidth, and storage capacity to ensure effective use of system resources and high efficiency of task execution, and then optimize task scheduling strategies; Step 3: Formulate the calculation task scheduling strategy: Based on the task characteristics and system resource status, formulate the task scheduling strategy. First, determine the execution order and allocation method of the tasks, and then establish the priority scheduling strategy and resource-aware scheduling strategy. By combining the two scheduling strategies, the priority of the tasks and the effective use of system resources are balanced. Step 4: Real-time monitoring and dynamic adjustment, dynamic adjustment and optimization according to actual conditions; real-time monitoring and dynamic adjustment are key steps in the task scheduling strategy to ensure that tasks can adapt efficiently and flexibly in the ever-changing system environment; such a comprehensive real-time monitoring and dynamic adjustment method enables the system to adapt to the changing workload more intelligently and improve task execution efficiency and overall performance.

2. The efficient high-throughput computing task scheduling method according to claim 1, characterized in that: The specific steps of step 1 in the efficient high-throughput computing task scheduling algorithm are: 1) Perform computational complexity evaluation; through algorithm complexity analysis, time complexity (T(n)) and space complexity (S(n)) evaluation, we can fully understand the computational characteristics and resource utilization of the task. Specifically, time complexity is used to measure the growth of the time required for algorithm execution, usually expressed in big O notation, that is, T(n) = O(f(n)), where f(n) is a function of the input size n; space complexity is used to evaluate the additional space required by the algorithm during operation, also expressed in big O notation; 2) Dependency modeling becomes another core task in this phase; The core mission of the task scheduling component is to execute tasks according to the established execution plan. For complex tasks, multiple tasks form a task group, and there are dependencies between them. The condition for the execution of a task must be that its predecessor task has been successfully executed or there is no predecessor task. 3) Formulas and mathematical models related to task scheduling are introduced for analysis; in the dependency modeling stage, task dependency analysis clearly presents the interdependencies between tasks by establishing a dependency graph; the assessment of parallel execution risks helps prevent problems that may be caused by task dependencies and ensure the stability of parallel execution; maintaining the dependency graph ensures the real-time update of task dependencies during the execution of the scheduling algorithm to ensure the accuracy and real-time nature of scheduling decisions.

3. The efficient high-throughput computing task scheduling method according to claim 1, characterized in that: The specific steps of step 2 in the efficient high-throughput computing task scheduling algorithm are: 1) Real-time monitoring of the load of computing nodes; the system can fully understand the workload of each node, including CPU usage, memory usage, and disk I / O; 2) Load balancing: The goal of load balancing is to avoid overloading a node in the system. By allocating tasks to nodes with relatively low loads, we can ensure that system resources are evenly utilized and improve overall performance. 3) Evaluation of network bandwidth and storage capacity. Evaluation of network bandwidth and storage capacity is a key factor in the overall process. Network bandwidth evaluation helps to understand the available network resources. 4) Optimize the task scheduling strategy. Optimizing the task scheduling strategy can prevent the task from being affected by the network bottleneck during data transmission. At the same time, the evaluation of the system storage capacity helps prevent the task from failing due to insufficient storage, and optimizes the use of storage resources, ensuring the intelligent scheduling of tasks, so that the burden of each node participating in the calculation is relatively balanced, avoiding the waste of resources and potential performance bottlenecks. In a high-throughput computing environment, the work at this stage plays a vital role in improving computing efficiency, reducing task waiting time, and ensuring balanced system performance. By carefully monitoring and evaluating system resources, the system can respond to different loads and task requirements more intelligently and achieve efficient execution of tasks. In the load balancing algorithm used, the minimum load priority and weighted minimum load priority can be expressed by formulas. The minimum load priority algorithm assumes that Li represents the current load of the i-th computing node and N represents the total number of computing nodes. Indicates that the computing node with the lightest current load is selected as the target of task allocation; while weighted minimum load priority assumes that Li represents the current load of the i-th computing node, represents the weight of the i-th computing node, and N represents the total number of computing nodes; This formula indicates that the computing node with the smallest ratio of current load to node weight is selected as the target of task allocation; both formulas involve node load information, where minimum load priority simply selects the node with the lightest current load, while weighted minimum load priority takes into account the node weight to more flexibly adapt to uneven node performance; in practical applications, the choice of load balancing algorithm depends on the specific needs of the system and the characteristics of the nodes.

4. The efficient high-throughput computing task scheduling method according to claim 1, characterized in that: The specific steps of step 3 in the efficient high-throughput computing task scheduling algorithm are: 1) Determine the execution order and allocation method of tasks; in determining the execution order and allocation method of tasks, the task scheduling strategy optimizes system performance and improves task execution efficiency; 2) Establish a priority scheduling strategy; in terms of priority scheduling, tasks are assigned different priorities according to their characteristics to ensure that high-priority tasks can be executed earlier; this is achieved by establishing a task queue and sorting them by priority, selecting the highest priority task for execution; the dynamic adjustment mechanism flexibly adjusts the priority of tasks according to the task execution status and system resource status to prevent the occurrence of starvation problems; 3) Establish a resource-aware scheduling strategy. Resource-aware scheduling focuses on real-time monitoring and evaluation of system resources. By classifying system resources, identifying bottlenecks and sufficient resources, task scheduling selects the most suitable computing nodes based on this information. This strategy avoids resource bottlenecks and overloads, and ensures full utilization of available resources while avoiding resource waste by dynamically adjusting to different loads and working environments. 4) By combining the priority scheduling strategy and the resource-aware scheduling strategy, the priority of the task and the effective use of system resources are balanced; by comprehensively considering the task characteristics and system resource conditions, such a task scheduling scheme helps to improve the overall system performance, reduce the task waiting time, and ensure the smooth operation of the system under different workloads.

5. The efficient high-throughput computing task scheduling method according to claim 1, characterized in that: The specific steps of step 4 in the efficient high-throughput computing task scheduling algorithm are: 1) Monitoring with system resource monitoring tools: By using system resource monitoring tools, the load of computing nodes, CPU usage, memory usage, and disk I / O can be tracked in real time to form a real-time snapshot of system resources; 2) Monitoring with network monitoring tools: Use network monitoring tools to monitor network bandwidth usage between computing nodes in real time, analyze data traffic, and identify potential bottlenecks or high-load areas; 3) Storage capacity monitoring: For storage capacity monitoring, use storage monitoring tools to monitor the storage capacity and usage of computing nodes in real time, and promptly warn and handle storage shortages; 4) Dynamic adjustment, which uses adaptive algorithms and feedback control systems; The adaptive algorithm dynamically adjusts the task scheduling strategy based on the real-time monitored system resource status, taking into account changes in system resource conditions and adjusting the execution order, allocation method or priority of tasks; 5) Call the fitness function; the fitness function is used to measure the quality of an individual in the problem space; usually, the fitness function is designed according to the specific situation of the problem, including the goal and constraints of the problem; suppose there are multiple objective functions f1(x), f2(x), ..., f n (x) The fitness function can be defined as a linear combination of these objective functions; Fitness(x)=w1·f1(x)+w2·f2(x)+……+w n ·f n (x) where w1, w2, ..., w n is a weight coefficient used to adjust the relative importance of each objective function. In genetic algorithms, selection uses a genetic algorithm to select individuals for crossover and mutation according to the fitness function; a common selection method is roulette wheel selection, in which the probability of an individual being selected is proportional to its fitness; the selection probability P i It can be obtained by the individual fitness f i It can be calculated, it can be calculated, N is the individual power in the population; 6) Feedback control system thresholds and control rules; adjust the task execution strategy according to the real-time status of the system and the task execution status to ensure that the system remains in a stable working state; in addition, a load balancing algorithm is used to ensure that tasks are evenly distributed on the computing nodes, and dynamically adjust the task allocation according to the real-time monitored load status to achieve load balancing; by dynamically adjusting the priority of tasks, the system ensures that high-priority tasks can be executed earlier at critical moments; A real-time response mechanism is introduced. Based on real-time monitoring data, the system can respond to changes in system resources in a timely manner, adjust task execution plans, and use event-driven or timed polling methods to achieve rapid response to system status.

Citation Information

Cited By

  • CPU (Central Processing Unit) self-adaptive dynamic adjustment method for network security equipment

    CN118884838A

  • A CPU adaptive dynamic adjustment method for network security equipment

    CN118884838B

  • Efficient function test dynamic calling method

    CN119127451A

  • An efficient dynamic calling method for functional testing

    CN119127451B

  • Large model service platform for high-efficiency concurrent computing

    CN119149257A