Movatterモバイル変換


[0]ホーム

URL:


CN117453379B - Scheduling method and system for AOE network computing tasks in Linux system - Google Patents

Scheduling method and system for AOE network computing tasks in Linux system
Download PDF

Info

Publication number
CN117453379B
CN117453379BCN202311787825.8ACN202311787825ACN117453379BCN 117453379 BCN117453379 BCN 117453379BCN 202311787825 ACN202311787825 ACN 202311787825ACN 117453379 BCN117453379 BCN 117453379B
Authority
CN
China
Prior art keywords
node
nodes
scheduling
time
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311787825.8A
Other languages
Chinese (zh)
Other versions
CN117453379A (en
Inventor
谭一鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kirin Software Co Ltd
Original Assignee
Kirin Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kirin Software Co LtdfiledCriticalKirin Software Co Ltd
Priority to CN202311787825.8ApriorityCriticalpatent/CN117453379B/en
Publication of CN117453379ApublicationCriticalpatent/CN117453379A/en
Application grantedgrantedCritical
Publication of CN117453379BpublicationCriticalpatent/CN117453379B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a scheduling method and a scheduling system for an AOE network computing task in a Linux system, wherein the method comprises the following steps: acquiring calculation tasks represented by an AOE network, determining the scheduling sequence of nodes in the AOE network according to the degree of node incidence, and dividing the nodes in the AOE network into key nodes and non-key nodes; when the nodes in the AOE network are sequentially scheduled according to the scheduling sequence, the key nodes are respectively scheduled in real time, and the non-key nodes are respectively scheduled in common. The invention creates the key nodes in the AOE network as real-time tasks through real-time scheduling, so that the key nodes have higher priority, and the key nodes can be guaranteed to have the fastest execution time no matter which processor or processing core is scheduled to execute during scheduling, thereby ensuring that the whole AOE network calculation task can be completed to execute in the fastest time.

Description

Scheduling method and system for AOE network computing tasks in Linux system
Technical Field
The invention relates to a task scheduling technology, in particular to a scheduling method and system for an AOE network computing task in a Linux system.
Background
In graph theory, a directed acyclic graph (Directed Acyclic Graph, DAG) represents a graph in which, in one directed graph, it is not possible to start from any vertex and go through several edges back to that point. DAG graphs are often used to model computing tasks in an operating system, reflecting the scheduling execution dependencies among subtasks in succession.
An Activity On Edge (AOE) network is a special DAG graph, as shown in fig. 1, in the AOE network, a node represents a task, a directed Edge represents a dependency relationship between tasks, and a weight On the Edge represents a time from completion of execution of a predecessor task to preparation of scheduled execution of a successor task, which is simply referred to as an execution time of the node. In the field of task scheduling, computing tasks are often modeled with AOE networks. Through modeling of the AOE network, not only can the sequence dependency relationship among all subtasks in the whole calculation task be reflected, but also the execution time of the whole AOE calculation task can be predicted according to the execution time of each subtask.
In an AOE network, the ingress of a node indicates how many edges are currently pointing to it, and an ingress of 0 for a node indicates that no predecessor node points to that point, i.e., that node is not dependent on other nodes, then the subtasks represented by that node can be scheduled for execution immediately. Meanwhile, a plurality of nodes with the input degree of 0 have no dependency relationship, and can be scheduled and executed in parallel. Meanwhile, in an AOE network, there are multiple paths formed by different edges from a node of a source point to a node of a destination point, and the lengths of the paths may be different due to the different lengths (weights) of the edges. As shown in fig. 2, a path having the maximum path length (weight) therein is called a critical path, and nodes on the critical path are called critical nodes. The length of the critical path determines the execution time of the computation task for the entire AOE netlist representation.
For the calculation tasks represented by the AOE list, the existing scheduling algorithm only determines the scheduling sequence of the subtasks represented by each node according to the dependency relationship among the subtasks, but the subtasks represented by the nodes on the critical path are not subjected to targeted optimization, and particularly the scheduling priorities of a plurality of subtasks which can be scheduled and executed in parallel are not distinguished. For example subtask v2 And v3 If v can be executed in parallel2 And v3 V, scheduling execution on the same processing core3 Possibly prior to critical task v2 Scheduling; if v2 And v3 Scheduling execution on different processing cores, v2 It is also possible that other tasks may affect the progress of the scheduling. Because in Linux system, v2 Although it is a critical node task in AOE networks, linux systems default to v2 And the unified scheduling is performed for a common process together with other tasks.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: because the key nodes on the key paths are key factors influencing the execution time of the calculation tasks of the whole AOE network, the scheduling execution time of the key nodes must be optimized in a targeted manner, so that the execution time of the calculation tasks of the whole AOE network is ensured to be shorter.
Aiming at the technical problems in the prior art, the invention provides the scheduling method and the scheduling system for the calculation tasks of the AOE network in the Linux system, which optimize the scheduling of the key node tasks in the AOE network and can reduce the completion time of the calculation tasks of the whole AOE network.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
a scheduling method of AOE network computing tasks in a Linux system comprises the following steps:
s101) acquiring calculation tasks represented by an AOE network, determining the scheduling sequence of nodes in the AOE network according to the degree of node incidence, and dividing the nodes in the AOE network into key nodes and non-key nodes;
s102) when the nodes in the AOE network are sequentially scheduled according to the scheduling sequence, real-time scheduling is respectively carried out on the key nodes, and common scheduling is respectively carried out on the non-key nodes.
Further, the step S102 specifically includes the following steps:
if the current batch node to be dispatched comprises at least two nodes, traversing the current batch node to be dispatched;
if the current node is a key node, scheduling the current node to a corresponding processor or processing core for execution by using a real-time scheduler, wherein the processor or processing core corresponds to the key node one by one;
and if the current node is a non-critical node, scheduling the current node to a processor or a processing core with the minimum load for execution by using a full fairness scheduler.
Further, the step S102 specifically includes the following steps:
if the current batch node to be dispatched comprises a node which is a key node, dispatching the node to a processor or a processing core with the minimum load by using a real-time dispatcher for execution;
if the current batch node to be dispatched comprises a node and the node is a non-critical node, dispatching the node to a processor or a processing core with the minimum load for execution by using a full fairness scheduler.
Optionally, the real-time scheduler adopts a FIFO real-time scheduling algorithm, and the full-fairness scheduler adopts a sched_normal scheduling algorithm, and before step S102, the method further includes:
setting scheduling strategies of all key nodes as a FIFO real-time scheduling algorithm, and setting process priorities of all key nodes as a first value;
and setting the scheduling policy of all non-critical nodes as a sched_normal scheduling algorithm, and setting the process priority of all non-critical nodes as a second value.
Optionally, the first value is a maximum value of a process priority range of the real-time task, and the second value is a middle value of a priority range of the common process.
Further, in step S101, when determining the scheduling sequence of the nodes in the AOE network according to the node entering degree, the method includes:
s201), counting nodes with the degree of entry of 0 in the AOE network, and adding the counted nodes into a dependence scheduling set of nodes to be scheduled of the current batch;
s202) deleting nodes in the dependency dispatching set of the nodes to be dispatched of the current batch in the AOE network, taking the dependency dispatching set of the nodes to be dispatched of the next batch as the dependency dispatching set of the nodes to be dispatched of the current batch, and jumping to execute the step S201 until the nodes in the AOE network are deleted.
Further, in step S101, when dividing the nodes in the AOE network into the critical nodes and the non-critical nodes, the method includes:
s301) calculating the earliest occurrence time of each node in a positive sequence, and then calculating the latest occurrence time of each node in a reverse sequence;
s302) taking the earliest occurrence time of the precursor node of each side as the earliest occurrence time of each side, and calculating the difference between the latest occurrence time of the subsequent node of each side and the weight value of each side to obtain the latest occurrence time of each side;
s303) takes the edge with the same earliest occurrence time and the latest occurrence time as a key edge, the predecessor node and the successor node of the key edge as key nodes, and the rest nodes as non-key nodes.
Further, when the positive sequence calculates the earliest occurrence time of each node, the method includes:
setting the earliest occurrence time of the node of the source point to 0;
and for each node, calculating the sum of the earliest starting time of all the precursor nodes of the node and the weight of the corresponding edge respectively, and taking the maximum value of the sum of the earliest starting time of all the precursor nodes and the weight of the corresponding edge as the earliest occurrence time of the node.
Further, when calculating the latest occurrence time of each node in reverse order, the method includes:
taking the earliest occurrence time of the node of the terminal as the latest occurrence time;
for each node, calculating the difference between the latest starting time of all the subsequent nodes of the node and the weight of the corresponding edge, and taking the minimum value of the difference between the latest starting time of all the subsequent nodes and the weight of the corresponding edge as the latest occurrence time of the node.
The invention also provides a dispatching system of the AOE network computing task in the Linux system, which comprises a microprocessor and a computer readable storage medium which are connected with each other, wherein the microprocessor is programmed or configured to execute the dispatching method of the AOE network computing task in any Linux system.
Compared with the prior art, the invention has the advantages that:
aiming at the calculation task represented by the AOE table, the invention determines the scheduling sequence of the nodes in the AOE network according to the node incidence, divides the nodes in the AOE network into key nodes and non-key nodes, and performs real-time scheduling on the key nodes and common scheduling on the non-key nodes when the nodes in the AOE network are sequentially scheduled according to the scheduling sequence. The key nodes in the AOE network are created into real-time tasks through real-time scheduling, so that the real-time tasks have higher priority, and the key nodes can be guaranteed to have the fastest execution time no matter which processor or processing core is scheduled to execute during scheduling, so that the whole AOE network calculation task can be completed in the fastest time.
Drawings
Fig. 1 is a schematic diagram of an AOE network.
Fig. 2 is a schematic diagram of the critical path of an AOE network.
FIG. 3 is a flow chart of an embodiment of the present invention.
Detailed Description
The invention is further described below in connection with the drawings and the specific preferred embodiments, but the scope of protection of the invention is not limited thereby.
The execution time of the key nodes in the AOE network is a key factor influencing the whole AOE calculation task, and the completion time of the whole AOE calculation task can be improved by optimizing the scheduling execution time of the key nodes.
In the Linux system, a full fairness scheduler CFS (Completely Fair Scheduler) is adopted as a default for a common user process, a fairness scheduling principle is reflected, and a sched_normal scheduling algorithm is adopted.
Meanwhile, the Linux system also provides a real-time scheduler RT_scheduled, which embodies a preemption mechanism and is mainly used for scheduling real-time tasks, and two scheduling algorithms exist; FIFO and RR, wherein the FIFO scheduling algorithm idea is: the processes schedule according to the order of priority, and the high priority tasks can preempt the low priority tasks. When a process executes, unless preempted, it executes in unison until itself is blocked or the CPU is actively relinquished. The calculation task adopting the FIFO real-time scheduling algorithm has higher priority, and can preempt the calculation task adopting the SCHED_NORMAL common scheduling algorithm.
Therefore, this embodiment proposes a scheduling method for an AOE network computing task in a Linux system, by creating a key node in the AOE network as a real-time task, so that the key node has a higher priority, and when scheduling, no matter to which processor or processing core the key node is scheduled to execute, the key node can be guaranteed to have the fastest execution time, so that the whole AOE network computing task can be guaranteed to complete execution in the fastest time. As shown in fig. 3, the method comprises the following steps:
s101) acquiring calculation tasks represented by an AOE network, determining the scheduling sequence of nodes in the AOE network according to the degree of node incidence, and dividing the nodes in the AOE network into key nodes and non-key nodes;
s102) when the nodes in the AOE network are sequentially scheduled according to the scheduling sequence, real-time scheduling is respectively carried out on the key nodes, and common scheduling is respectively carried out on the non-key nodes.
Each step is specifically explained below.
In step S101, the calculation task represented by the AOE network is specifically a calculation task for modeling an AOE network by using a pointer, for example, in a Linux system, a system boot process based on a system md mechanism may be represented as an AOE network, a dependency relationship between all units may be obtained through Requires, wants fields in all unit definitions, and at the same time, the boot time of each unit may be obtained through measurement, so as to finally obtain an AOE network, including a node set v= { V of the AOE network1 ,v2 ,…,vn An ingress set d= { D } for each node1 ,d2 ,…,dn Edge set E= { E of AOE network1 ,e2 ,…,em Edge ek =(vi , vj ) Wherein v isi For edge ek Precursor node v of (v)j For edge ek Subsequent nodes of (a); due to the precursor node vi There will be a plurality of successor nodes vj The method comprises the steps of carrying out a first treatment on the surface of the Weight set w= { W of each edge1 ,w2 ,…,wm -w isk For edge ek =(vi , vj ) The weights of (2) may also be expressed as: w (w)k =w(vi ,vj )。
In step S101, when determining the scheduling sequence of the nodes in the AOE network according to the node' S ingress, the node is determined from the source point v according to the ingress table BFS1 Initially, all nodes with 0 degree are gradually counted, and all nodes with 0 degree form a subset Vdx (hereinafter referred to as a dependency schedule set), and nodes in the subset have no dependency relationship and can execute in parallel. Then delete the subset V in the AOE networkdx Intermediate nodes, and then continuing to count all nodes with 0 degree to form another node with 0 degreeNode subset Vd(x+1) . It can be seen that the latter node subset V with an ingress of 0d(x+1) Node subset V dependent on the previous degree of entry 0dx . Finally, a process of executing all subtasks in the AOE network can be obtained, which comprises the following steps:
s201), counting nodes with the degree of entry of 0 in the AOE network, and adding the counted nodes into a dependence scheduling set of nodes to be scheduled of the current batch;
s202) deleting nodes in the dependency dispatching set of the nodes to be dispatched of the current batch in the AOE network, taking the dependency dispatching set of the nodes to be dispatched of the next batch as the dependency dispatching set of the nodes to be dispatched of the current batch, and jumping to execute the step S201 until the nodes in the AOE network are deleted.
According to the method of the ingress table (BFS algorithm), when a task is scheduled, only subtasks with ingress degree of 0 are scheduled each time, for example, the scheduling steps of all subtasks in FIG. 1 according to the dependency relationship are:
1) V in AOE network1 As for the vertex, the ingress is 0 initially, so that the execution is scheduled first, and a dependent scheduling set V is definedd1 ={v1 };
2) Deletion of v in AOE network1 After that, v2 And v3 The penetration degree is 0, v2 And v3 The execution may be scheduled and may be performed in parallel because v2 And v3 No precedence dependence exists between the two, and a dependence scheduling set V is definedd2 ={v2 ,v3 };
3) Deletion of v in AOE network2 And v3 After that, v4 And v5 The penetration degree is 0, v4 And v5 The execution may be scheduled and may be performed in parallel because v4 And v5 No precedence dependence exists between the two, and a dependence scheduling set V is definedd3 ={v4 ,v5 };
4) Deletion of v in AOE network4 And v5 After that, v6 And v7 The penetration degree is 0, v6 And v7 The execution may be scheduled and may be performed in parallel because v6 And v7 There is no precedence dependence relationship between them, defining dependenceScheduling set Vd4 ={v6 ,v7 };
5) Deletion of v in AOE network6 And v7 After that, v8 The penetration degree is 0, v8 Can schedule execution, define a dependent scheduling set Vd5 ={v8 }。
Finally, the set of dependent schedules for each step of statistics in FIG. 2 is as follows:
①Vd1 ={v1 }
②Vd2 ={v2 ,v3 }
③Vd3 ={v4 ,v5 }
④Vd4 ={v6 ,v7 }
⑤Vd5 ={v8 }
in step S101, when dividing a critical node and a non-critical node for a node in the AOE network, a critical path method is used. The critical path and critical nodes in the AOE network can be calculated through a critical path algorithm.
First, define:
1) ve (i) represents: the earliest time of occurrence of node i;
2) vl (i) represents: the latest occurrence time of node i;
3) e (j) represents: edge ej Is the earliest start time of (2);
4) l (j) represents: edge ej Is the latest start time of (c).
The key path calculation steps are as follows:
1) Let ve (source) =0 from the source, find the earliest occurrence time ve (i) of the remaining points in the positive order of the topological order.
2) Starting from the endpoint, let vl (endpoint) =ve (endpoint), find the latest occurrence time vl (i) of the remaining points in reverse order of topological order.
3) The earliest start time e (j) of all edges is found from the ve (i) values of each vertex.
4) The latest start time l (j) of all edges is calculated from the vl (i) value of each vertex.
5) Selecting the edge with the same earliest starting time e (j) and latest starting time l (j),if e (j) =l (j), the edge e is representedj The key edges are the key nodes, and all the key edges form a key path.
Therefore, in this embodiment, when dividing the nodes in the AOE network into the critical nodes and the non-critical nodes, the method includes the following steps:
s301) calculating the earliest occurrence time ve (i) of each node in a positive sequence, and then calculating the latest occurrence time vl (i) of each node in a reverse sequence;
the positive sequence for calculating the earliest time of occurrence for each node includes:
setting the earliest occurrence time of a node of a source point to 0, ve (source point) =0, i.e., ve (1) =0;
and for each node, calculating the sum of the earliest starting time of all the precursor nodes of the node and the weight of the corresponding edge respectively, and taking the maximum value of the sum of the earliest starting time of all the precursor nodes and the weight of the corresponding edge as the earliest occurrence time of the node. Taking fig. 2 as an example, the earliest occurrence times for all nodes are shown in the following table:
table 1 node earliest occurrence schedule
When calculating the latest occurrence time of each node in reverse order, the method comprises the following steps:
taking the earliest occurrence time of the node of the terminal as the latest occurrence time;
for each node, calculating the difference between the latest starting time of all the subsequent nodes of the node and the weight of the corresponding edge, and taking the minimum value of the difference between the latest starting time of all the subsequent nodes and the weight of the corresponding edge as the latest occurrence time of the node. Taking fig. 2 as an example, vl (8) =ve (8) =14, and the node latest occurrence schedule is shown in the following table:
table 2 node latest occurrence schedule
S302) taking the earliest occurrence time of the precursor node of each side as the earliest occurrence time e (j) of each side, and calculating the difference between the latest occurrence time of the subsequent node of each side and the weight value of each side to obtain the latest occurrence time l (j) of each side;
suppose edge ej =(vt ,vw ) Edge ej The precursor node is vt The successor node is vw Edge ej Is equal to the earliest start time e (j) of the precursor node vt E (j) =ve (t). Finally, an earliest occurrence schedule of all edges is formed, taking fig. 2 as an example, and the earliest occurrence schedule of all edges is shown in the following table:
TABLE 3 earliest occurrence schedule
Also assume edge ej =(vt ,vw ) The precursor node is vt The successor node is vw Edge ej Is equal to the successor node vw And edge ej Weight wj I.e. l (j) =vl (w) -wj . Finally, a latest occurrence schedule of all edges is formed, and taking fig. 2 as an example, the earliest occurrence schedule of all edges is shown in the following table:
table 4 edge latest occurrence timetable
S303) taking the edge with the same earliest occurrence time and the latest occurrence time as a key edge, taking a predecessor node and a successor node of the key edge as key nodes, and adding the key nodes into a key node set Vcp And the rest nodes are used as non-critical nodes and added into the non-critical node set Vncp
Specifically, taking fig. 2 as an example, according to tables 3 and 4, the values of the earliest start time e (j) and the latest start time l (j) of all sides are compared, as shown in the following table:
table 5 critical path computation table
In table 5, the edges of e (j) -l (j) equal to 0 constitute key edges, and all key edges constitute key paths, which are as follows from table 5 and fig. 3: (e)1 ,e5 ,e11 ) Wherein edge e1 =(v1 , v2 ),e5 =(v2 , v6 ),e11 =(v6 , v8 ) The method comprises the steps of carrying out a first treatment on the surface of the The key nodes are as follows: { v1 ,v2 ,v6 ,v8 And the length of the whole critical path is edge e1 ,e5 ,e11 The sum of the respective weights, i.e. w1 +w5 +w11 =14。
In the implementation, when the task is scheduled, different scheduling algorithms are adopted for scheduling sub-tasks in the key node set and the non-key node set. For non-critical node tasks, a sched_normal scheduling algorithm is adopted, and for critical node tasks, a FIFO real-time scheduling algorithm is adopted. Therefore, before step S102, the following steps are further included:
aggregating key nodes Vcp Setting the scheduling strategy of all key nodes as a FIFO real-time scheduling algorithm, and setting the process priority of all key nodes as a first value;
set of non-critical nodes Vncp The scheduling policy of all non-critical nodes is set as a sched_normal scheduling algorithm, and the process priority of all non-critical nodes is set as a second value.
In this embodiment, the first value is the maximum value of the process priority range of the real-time task, the second value is the middle value of the priority range of the normal process, specifically, the process priority range of the real-time task is 0-99, the larger the set value is, the higher the priority is, the first value is set to 99, the priority value can be adjusted according to the needs, meanwhile, in Linux, the range of the priority of the normal process is 100-139, the smaller the set value is, the higher the priority is, the second value is set to 120, and the priority value can be adjusted according to the needs.
In this embodiment, the step S102 specifically includes the following steps:
if the current batch node to be dispatched comprises at least two nodes, the sub-tasks represented by the plurality of nodes have no dependency relationship and can be executed in parallel, so that the current batch node to be dispatched is traversed;
if the current node is a key node, scheduling the current node to a corresponding processor or processing core for execution by using a real-time scheduler, wherein according to the foregoing, in the embodiment, the real-time scheduler adopts a FIFO real-time scheduling algorithm, and the processor or processing core corresponds to the key node one by one, so that preemption of computing resources among a plurality of key tasks is avoided;
if the current node is a non-critical node, using a full fairness scheduler to schedule the current node to a processor or a processing core with the smallest load for execution, and according to the foregoing, in this embodiment, the full fairness scheduler adopts a sched_normal scheduling algorithm;
if the current batch node to be dispatched only comprises one node, the node is dispatched to a processor or a processing core with the smallest load no matter whether the node is a key node or a non-key node, and when the node is a key node, a real-time dispatcher is used for dispatching the node to the processor or the processing core with the smallest load for execution; and when the node is a non-critical node, scheduling the node to a least loaded processor or processing core for execution by using a full fairness scheduler.
Taking fig. 2 as an example, the task set v= { V in fig. 21 ,v2 ,v3 ,v4 ,v5 ,v6 ,v7 ,v8 Scheduling execution in the following order:
1) Scheduling subtask set Vd1 ={v1 },v1 As a key node, the real-time scheduler adopts a FIFO real-time scheduling algorithm to schedule the node v1 Scheduling to the corresponding processor 1 or processing core 1 for execution;
2) Rescheduling subtask set Vd2 ={v2 ,v3 },v2 Is a key node, and { v2 ,v3 The node v can be scheduled in parallel, and the real-time scheduler adopts a FIFO real-time scheduling algorithm to schedule the node v2 Dispatch to corresponding processor 2 or processing core 2, while full fairness scheduler uses sched_normal scheduling algorithm to schedule node v3 Scheduling to be executed on the least loaded processor or processing core;
3) Rescheduling subtask set Vd3 ={v4 ,v5 },{v4 ,v5 The node v can be scheduled in parallel, and the full fairness scheduler adopts the SCHED_NORMAL scheduling algorithm4 And v5 Simultaneously scheduling to be executed on the processor or the processing core with the minimum load;
4) Rescheduling subtask set Vd4 ={v6 ,v7 },v6 Is a key node, and { v6 ,v7 The node v can be scheduled in parallel, and the real-time scheduler adopts a FIFO real-time scheduling algorithm to schedule the node v6 Dispatch to corresponding processor 3 or processing core 3, while full fairness scheduler uses sched_normal scheduling algorithm to schedule node v7 Scheduling to be executed on the least loaded processor or processing core;
5) Rescheduling subtask set Vd5 ={v8 },v8 As a key node, the real-time scheduler adopts a FIFO real-time scheduling algorithm to schedule the node v8 Scheduled to execute on a corresponding processor 4 or processing core 4
Based on the foregoing, the main pseudo code of the scheduling method of the AOE network computing task in the Linux system according to the present embodiment is described as follows:
the embodiment also provides a scheduling system of the AOE network computing task in the Linux system, which comprises a microprocessor and a computer readable storage medium which are connected with each other, wherein the microprocessor is programmed or configured to execute the scheduling method of the AOE network computing task in the Linux system.
In summary, the invention provides an efficient task scheduling technology for computing tasks based on AOE network modeling in a Linux system, and by identifying critical paths in the AOE network, the critical tasks on the critical paths are scheduled in real time, while other non-critical tasks are scheduled in common, so that the critical tasks can be scheduled preferentially, the whole AOE network computing task can be executed in the shortest time, and finally the purpose of efficient scheduling is achieved.
The foregoing is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. While the invention has been described with reference to preferred embodiments, it is not intended to be limiting. Therefore, any simple modification, equivalent variation and modification of the above embodiments according to the technical substance of the present invention shall fall within the scope of the technical solution of the present invention.

Claims (9)

CN202311787825.8A2023-12-252023-12-25Scheduling method and system for AOE network computing tasks in Linux systemActiveCN117453379B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202311787825.8ACN117453379B (en)2023-12-252023-12-25Scheduling method and system for AOE network computing tasks in Linux system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202311787825.8ACN117453379B (en)2023-12-252023-12-25Scheduling method and system for AOE network computing tasks in Linux system

Publications (2)

Publication NumberPublication Date
CN117453379A CN117453379A (en)2024-01-26
CN117453379Btrue CN117453379B (en)2024-04-05

Family

ID=89586001

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202311787825.8AActiveCN117453379B (en)2023-12-252023-12-25Scheduling method and system for AOE network computing tasks in Linux system

Country Status (1)

CountryLink
CN (1)CN117453379B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104915251A (en)*2015-06-052015-09-16北京京东尚科信息技术有限公司Task scheduling method and device
CN106293003A (en)*2016-08-052017-01-04广东工业大学A kind of heterogeneous system dynamic power consumption optimization method based on AOV gateway key path query
CN106896895A (en)*2017-01-112017-06-27广东工业大学A kind of heterogeneous system dynamic power consumption optimization method based on AOV gateway key path queries
CN108459966A (en)*2018-03-212018-08-28东软集团股份有限公司Dispatching method, device, equipment and the computer readable storage medium of test suite
CN108958916A (en)*2018-06-292018-12-07杭州电子科技大学Workflow unloads optimization algorithm under a kind of mobile peripheral surroundings
CN109104304A (en)*2018-07-242018-12-28国网山东省电力公司电力科学研究院A kind of distribution real time fail processing method
CN110058932A (en)*2019-04-192019-07-26中国科学院深圳先进技术研究院A kind of storage method and storage system calculated for data flow driven
CN110134506A (en)*2019-05-242019-08-16哈尔滨理工大学 Real-time dynamic critical path multi-core scheduling method based on processor core dynamics
CN111984390A (en)*2020-08-312020-11-24平安医疗健康管理股份有限公司Task scheduling method, device, equipment and storage medium
CN112328380A (en)*2020-11-102021-02-05武汉理工大学 A task scheduling method and device based on heterogeneous computing
CN113708953A (en)*2021-07-102021-11-26西北工业大学Underwater acoustic sensor network anti-damage method based on node importance balance
CN115759605A (en)*2022-11-102023-03-07青岛民航凯亚系统集成有限公司Method for realizing dynamic adjustment of guarantee node based on key path algorithm
CN116670684A (en)*2021-05-142023-08-29支付宝(杭州)信息技术有限公司 Method and system for scheduling tasks
CN116737511A (en)*2023-08-102023-09-12山景智能(北京)科技有限公司Graph-based scheduling job monitoring method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US12236267B2 (en)*2022-04-152025-02-25Dell Products L.P.Method and system for performing domain level scheduling of an application in a distributed multi-tiered computing environment using reinforcement learning

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104915251A (en)*2015-06-052015-09-16北京京东尚科信息技术有限公司Task scheduling method and device
CN106293003A (en)*2016-08-052017-01-04广东工业大学A kind of heterogeneous system dynamic power consumption optimization method based on AOV gateway key path query
CN106896895A (en)*2017-01-112017-06-27广东工业大学A kind of heterogeneous system dynamic power consumption optimization method based on AOV gateway key path queries
CN108459966A (en)*2018-03-212018-08-28东软集团股份有限公司Dispatching method, device, equipment and the computer readable storage medium of test suite
CN108958916A (en)*2018-06-292018-12-07杭州电子科技大学Workflow unloads optimization algorithm under a kind of mobile peripheral surroundings
CN109104304A (en)*2018-07-242018-12-28国网山东省电力公司电力科学研究院A kind of distribution real time fail processing method
CN110058932A (en)*2019-04-192019-07-26中国科学院深圳先进技术研究院A kind of storage method and storage system calculated for data flow driven
CN110134506A (en)*2019-05-242019-08-16哈尔滨理工大学 Real-time dynamic critical path multi-core scheduling method based on processor core dynamics
CN111984390A (en)*2020-08-312020-11-24平安医疗健康管理股份有限公司Task scheduling method, device, equipment and storage medium
CN112328380A (en)*2020-11-102021-02-05武汉理工大学 A task scheduling method and device based on heterogeneous computing
CN116670684A (en)*2021-05-142023-08-29支付宝(杭州)信息技术有限公司 Method and system for scheduling tasks
CN113708953A (en)*2021-07-102021-11-26西北工业大学Underwater acoustic sensor network anti-damage method based on node importance balance
CN115759605A (en)*2022-11-102023-03-07青岛民航凯亚系统集成有限公司Method for realizing dynamic adjustment of guarantee node based on key path algorithm
CN116737511A (en)*2023-08-102023-09-12山景智能(北京)科技有限公司Graph-based scheduling job monitoring method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Research on Modeling Technology of Virtual Maintenance Process Based on Petri Net and AOE Network;Kang Xingwu;2013 Fourth International Conference on Digital Manufacturing and Automation;20131231;1090-1093*
基于深度学习的 RCPSP 调度优先规则实时动态选择算法;张亚宁 等;《系统工程理论与实践》;20230731;第43卷(第7期);2142-2153*
异构重构计算系统应用任务调度的性能分析;谭一鸣;《小型微型计算机系统》;20120229;第33卷(第2期);404-408*

Also Published As

Publication numberPublication date
CN117453379A (en)2024-01-26

Similar Documents

PublicationPublication DateTitle
US7165252B1 (en)Method of scheduling executions of processes with various types of timing properties and constraints
US8056083B2 (en)Dividing a computer job into micro-jobs for execution
Xie et al.Mixed real-time scheduling of multiple dags-based applications on heterogeneous multi-core processors
JP2002544621A (en) Task scheduling and message passing
US20160034314A1 (en)Method of computing latest start times to allow real-time process overruns
CN110187956B (en) A hierarchical real-time task scheduling method and system for a multi-agent platform
CN115033357B (en) Microservice workflow scheduling method and device based on dynamic resource selection strategy
WO2020121292A1 (en)Efficient data processing in a serverless environment
CN114995971B (en)Method and system for realizing pod batch scheduling in kubernetes
CN106934537A (en)The sub- time limit based on the scheduling of reverse operation stream obtains optimization method
CN116755851A (en) Task scheduling method and system based on heterogeneous priorities and key task replication
CN112000452A (en)Queuing theory-based real-time analysis method for automatic driving system
CN107589993A (en)A kind of dynamic priority scheduling algorithm based on linux real time operating systems
CN117453379B (en)Scheduling method and system for AOE network computing tasks in Linux system
CN118869817A (en) A cloud platform task scheduling method, computer equipment and storage medium
JP5482442B2 (en) Job management apparatus, job management method, and job management program
EP2413240A1 (en)Computer micro-jobs
CN112817731A (en)Heterogeneous multi-core system task scheduling method based on node replication
CN112328383A (en)Priority-based job concurrency control and scheduling algorithm
CN111736959A (en) Spark task scheduling method considering data affinity under heterogeneous cluster
CN120123062B (en)Data processing mode based on SQL script
Friebe et al.Nip it in the Bud: Job Acceptance Multi-Server
Vaze et al.Speed Scaling on Parallel Servers With MapReduce Type Precedence Constraints
Suzuki et al.Execution Right Delegation Scheduling Algorithm for Multiprocessor
CN110865886B (en)Harmonious perception multiprocessor scheduling method for multi-probabilistic parameter real-time task

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp